Skip to content

Commit

Permalink
Revert exception change on QueryRunner close (#1302)
Browse files Browse the repository at this point in the history
  • Loading branch information
injectives authored Sep 1, 2022
1 parent e21be5c commit 5488140
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
1 change: 1 addition & 0 deletions bundle/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
<properties>
<moduleName>org.neo4j.driver</moduleName>
<rootDir>${project.basedir}/..</rootDir>
<maven.compiler.xlint.extras>,-try</maven.compiler.xlint.extras>
<maven.deploy.skip>false</maven.deploy.skip>
</properties>

Expand Down
1 change: 1 addition & 0 deletions driver/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
<properties>
<rootDir>${project.basedir}/..</rootDir>
<api.classes.directory>${basedir}/target/classes-without-jpms</api.classes.directory>
<maven.compiler.xlint.extras>,-try</maven.compiler.xlint.extras>
<surefire.jpms.args>--add-opens org.neo4j.driver/org.neo4j.driver.internal.util.messaging=ALL-UNNAMED</surefire.jpms.args>
<failsafe.parallelizable.jpms.args>--add-opens org.neo4j.driver/org.neo4j.driver.internal.util=ALL-UNNAMED --add-opens org.neo4j.driver/org.neo4j.driver.internal.async=ALL-UNNAMED</failsafe.parallelizable.jpms.args>
<maven.deploy.skip>false</maven.deploy.skip>
Expand Down
5 changes: 1 addition & 4 deletions driver/src/main/java/org/neo4j/driver/QueryRunner.java
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,4 @@
*
* @since 1.0
*/
public interface QueryRunner extends SimpleQueryRunner, AutoCloseable {
@Override
void close() throws RuntimeException;
}
public interface QueryRunner extends SimpleQueryRunner, AutoCloseable {}

0 comments on commit 5488140

Please sign in to comment.