Skip to content

Commit c32321a

Browse files
committed
Get rid of annoying warning due to the deprecated gradle CloseableResource interface
Signed-off-by: Jan Schatteman <[email protected]>
1 parent 0856fd1 commit c32321a

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

hibernate-testing/src/main/java/org/hibernate/testing/orm/junit/AbstractEntityManagerFactoryScope.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,10 @@
1515

1616
import org.hibernate.testing.jdbc.SQLStatementInspector;
1717
import org.hibernate.testing.orm.transaction.TransactionUtil;
18-
import org.junit.jupiter.api.extension.ExtensionContext;
1918

2019
import org.jboss.logging.Logger;
2120

22-
abstract class AbstractEntityManagerFactoryScope implements EntityManagerFactoryScope, ExtensionContext.Store.CloseableResource {
21+
abstract class AbstractEntityManagerFactoryScope implements EntityManagerFactoryScope, AutoCloseable {
2322
private static final Logger log = Logger.getLogger( EntityManagerFactoryScope.class );
2423

2524
protected EntityManagerFactory emf;

0 commit comments

Comments
 (0)