We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent afa6a87 commit d08243dCopy full SHA for d08243d
driver/src/main/java/org/neo4j/driver/util/Resource.java
@@ -22,8 +22,6 @@
22
* A Resource is an {@link AutoCloseable} that allows introspecting if it
23
* already has been closed through its {@link #isOpen()} method.
24
*
25
- * Additionally, calling {@link AutoCloseable#close()} twice is expected to fail
26
- * (i.e. is not idempotent).
27
* @since 1.0
28
*/
29
public interface Resource extends AutoCloseable
@@ -34,10 +32,4 @@ public interface Resource extends AutoCloseable
34
32
* @return true if the resource is open
35
33
36
boolean isOpen();
37
-
38
- /**
39
- * @throws IllegalStateException if already closed
40
- */
41
- @Override
42
- void close();
43
}
0 commit comments