Skip to content

Commit 5488140

Browse files
authored
Revert exception change on QueryRunner close (#1302)
1 parent e21be5c commit 5488140

File tree

3 files changed

+3
-4
lines changed

3 files changed

+3
-4
lines changed

bundle/pom.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
<properties>
2020
<moduleName>org.neo4j.driver</moduleName>
2121
<rootDir>${project.basedir}/..</rootDir>
22+
<maven.compiler.xlint.extras>,-try</maven.compiler.xlint.extras>
2223
<maven.deploy.skip>false</maven.deploy.skip>
2324
</properties>
2425

driver/pom.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
<properties>
1919
<rootDir>${project.basedir}/..</rootDir>
2020
<api.classes.directory>${basedir}/target/classes-without-jpms</api.classes.directory>
21+
<maven.compiler.xlint.extras>,-try</maven.compiler.xlint.extras>
2122
<surefire.jpms.args>--add-opens org.neo4j.driver/org.neo4j.driver.internal.util.messaging=ALL-UNNAMED</surefire.jpms.args>
2223
<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>
2324
<maven.deploy.skip>false</maven.deploy.skip>

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

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,4 @@
2323
*
2424
* @since 1.0
2525
*/
26-
public interface QueryRunner extends SimpleQueryRunner, AutoCloseable {
27-
@Override
28-
void close() throws RuntimeException;
29-
}
26+
public interface QueryRunner extends SimpleQueryRunner, AutoCloseable {}

0 commit comments

Comments
 (0)