File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
driver/src/main/java/org/neo4j/driver Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change 3030import java .util .Collections ;
3131import java .util .List ;
3232import java .util .Objects ;
33+ import java .util .Optional ;
3334import java .util .concurrent .TimeUnit ;
3435import java .util .logging .Level ;
3536import org .neo4j .driver .internal .SecuritySettings ;
@@ -258,10 +259,10 @@ public String userAgent() {
258259 /**
259260 * A {@link BookmarkManager} implementation for the driver to use.
260261 *
261- * @return bookmark implementation or {@code null}.
262+ * @return bookmark implementation
262263 */
263- public BookmarkManager bookmarkManager () {
264- return bookmarkManager ;
264+ public Optional < BookmarkManager > bookmarkManager () {
265+ return Optional . ofNullable ( bookmarkManager ) ;
265266 }
266267
267268 /**
You can’t perform that action at this time.
0 commit comments