Skip to content

Commit 5f7dd2e

Browse files
committed
Impl AutoCloseable for TestcontainersExtension$StoreAdapter
1 parent e36c9e7 commit 5f7dd2e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/junit-jupiter/src/main/java/org/testcontainers/junit/jupiter/TestcontainersExtension.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -260,7 +260,7 @@ private static StoreAdapter getContainerInstance(final Object testInstance, fina
260260
* thereby letting the JUnit automatically stop containers once the current
261261
* {@link ExtensionContext} is closed.
262262
*/
263-
private static class StoreAdapter implements CloseableResource {
263+
private static class StoreAdapter implements CloseableResource, AutoCloseable {
264264

265265
@Getter
266266
private String key;

0 commit comments

Comments
 (0)