From d66a26a5e345f1ea2ab2d1094b264138408bc8ab Mon Sep 17 00:00:00 2001 From: Dmitriy Tverdiakov Date: Thu, 1 Sep 2022 13:36:45 +0100 Subject: [PATCH] Revert exception change on QueryRunner close --- bundle/pom.xml | 1 + driver/pom.xml | 1 + driver/src/main/java/org/neo4j/driver/QueryRunner.java | 5 +---- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/bundle/pom.xml b/bundle/pom.xml index 43c51f4744..1dab362e9f 100644 --- a/bundle/pom.xml +++ b/bundle/pom.xml @@ -19,6 +19,7 @@ org.neo4j.driver ${project.basedir}/.. + ,-try false diff --git a/driver/pom.xml b/driver/pom.xml index 62f35c09eb..593a49ae2d 100644 --- a/driver/pom.xml +++ b/driver/pom.xml @@ -18,6 +18,7 @@ ${project.basedir}/.. ${basedir}/target/classes-without-jpms + ,-try --add-opens org.neo4j.driver/org.neo4j.driver.internal.util.messaging=ALL-UNNAMED --add-opens org.neo4j.driver/org.neo4j.driver.internal.util=ALL-UNNAMED --add-opens org.neo4j.driver/org.neo4j.driver.internal.async=ALL-UNNAMED false diff --git a/driver/src/main/java/org/neo4j/driver/QueryRunner.java b/driver/src/main/java/org/neo4j/driver/QueryRunner.java index b98babd29a..50b7447e10 100644 --- a/driver/src/main/java/org/neo4j/driver/QueryRunner.java +++ b/driver/src/main/java/org/neo4j/driver/QueryRunner.java @@ -23,7 +23,4 @@ * * @since 1.0 */ -public interface QueryRunner extends SimpleQueryRunner, AutoCloseable { - @Override - void close() throws RuntimeException; -} +public interface QueryRunner extends SimpleQueryRunner, AutoCloseable {}