Skip to content

Commit 1444c66

Browse files
committed
Make QueryRunner interface extend AutoCloseable
1 parent afa6a87 commit 1444c66

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

driver/src/main/java/org/neo4j/driver/QueryRunner.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@
5959
* @see Transaction
6060
* @since 1.0
6161
*/
62-
public interface QueryRunner
62+
public interface QueryRunner extends AutoCloseable
6363
{
6464
/**
6565
* Run a query and return a result stream.

0 commit comments

Comments
 (0)