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 30
30
import java .util .Collections ;
31
31
import java .util .List ;
32
32
import java .util .Objects ;
33
+ import java .util .Optional ;
33
34
import java .util .concurrent .TimeUnit ;
34
35
import java .util .logging .Level ;
35
36
import org .neo4j .driver .internal .SecuritySettings ;
@@ -258,10 +259,10 @@ public String userAgent() {
258
259
/**
259
260
* A {@link BookmarkManager} implementation for the driver to use.
260
261
*
261
- * @return bookmark implementation or {@code null}.
262
+ * @return bookmark implementation
262
263
*/
263
- public BookmarkManager bookmarkManager () {
264
- return bookmarkManager ;
264
+ public Optional < BookmarkManager > bookmarkManager () {
265
+ return Optional . ofNullable ( bookmarkManager ) ;
265
266
}
266
267
267
268
/**
You can’t perform that action at this time.
0 commit comments