Skip to content

Commit 869d381

Browse files
committed
Added comment
1 parent e76f8e0 commit 869d381

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

driver/src/main/java/org/neo4j/driver/internal/NetworkSession.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -198,6 +198,9 @@ public <T> T writeTransaction( TransactionWork<T> work )
198198
return transaction( AccessMode.WRITE, work );
199199
}
200200

201+
// Internal method for setting the bookmark explicitly, mainly for testing.
202+
// This method does not prevent setting the bookmark to null since that
203+
// is a valid requirement for some test scenarios.
201204
void setBookmark( String bookmark )
202205
{
203206
this.bookmark = bookmark;

0 commit comments

Comments
 (0)