Skip to content

Commit 335e13f

Browse files
committed
Update reference in docs comment
1 parent e2b5bec commit 335e13f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
package org.neo4j.driver;
2020

2121
import java.util.Map;
22+
import java.util.function.Consumer;
2223

2324
import org.neo4j.driver.async.AsyncSession;
2425
import org.neo4j.driver.util.Resource;
@@ -91,7 +92,7 @@ public interface Session extends Resource, StatementRunner
9192
*
9293
* @param bookmark a reference to a previous transaction
9394
* @return a new {@link Transaction}
94-
* @deprecated This method is deprecated in favour of {@link Driver#session(Iterable)} that accepts an initial
95+
* @deprecated This method is deprecated in favour of {@link Driver#session(Consumer)} that accepts an initial
9596
* bookmark. Session will ensure that all nested transactions are chained with bookmarks to guarantee
9697
* causal consistency. <b>This method will be removed in the next major release.</b>
9798
*/

0 commit comments

Comments
 (0)