Skip to content

Commit 5f3fe63

Browse files
committed
Use AutoCloseable instead of JUnit closeable resource
1 parent 32c423e commit 5f3fe63

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/test/java/com/rabbitmq/stream/perf/TestUtils.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -352,8 +352,7 @@ private static Field field(Class<?> cls, String name) {
352352
return field;
353353
}
354354

355-
private static class ExecutorServiceCloseableResourceWrapper
356-
implements ExtensionContext.Store.CloseableResource {
355+
private static class ExecutorServiceCloseableResourceWrapper implements AutoCloseable {
357356

358357
private final ExecutorService executorService;
359358

0 commit comments

Comments
 (0)