@@ -2481,7 +2481,7 @@ public KeyValue keyValue(@NonNull String bucketName) throws IOException {
24812481 public KeyValue keyValue (@ NonNull String bucketName , @ Nullable KeyValueOptions options ) throws IOException {
24822482 Validator .validateBucketName (bucketName , true );
24832483 ensureNotClosing ();
2484- return new NatsKeyValue (this , bucketName , options );
2484+ return new NatsKeyValue (bucketName , this , options , null );
24852485 }
24862486
24872487 /**
@@ -2500,7 +2500,7 @@ public KeyValueManagement keyValueManagement() throws IOException {
25002500 @ NonNull
25012501 public KeyValueManagement keyValueManagement (@ Nullable KeyValueOptions options ) throws IOException {
25022502 ensureNotClosing ();
2503- return new NatsKeyValueManagement (this , options );
2503+ return new NatsKeyValueManagement (this , options , null );
25042504 }
25052505
25062506 /**
@@ -2520,7 +2520,7 @@ public ObjectStore objectStore(@NonNull String bucketName) throws IOException {
25202520 public ObjectStore objectStore (@ NonNull String bucketName , @ Nullable ObjectStoreOptions options ) throws IOException {
25212521 Validator .validateBucketName (bucketName , true );
25222522 ensureNotClosing ();
2523- return new NatsObjectStore (this , bucketName , options );
2523+ return new NatsObjectStore (bucketName , this , options , null );
25242524 }
25252525
25262526 /**
@@ -2530,7 +2530,7 @@ public ObjectStore objectStore(@NonNull String bucketName, @Nullable ObjectStore
25302530 @ NonNull
25312531 public ObjectStoreManagement objectStoreManagement () throws IOException {
25322532 ensureNotClosing ();
2533- return new NatsObjectStoreManagement (this , null );
2533+ return new NatsObjectStoreManagement (this , null , null );
25342534 }
25352535
25362536 /**
@@ -2540,7 +2540,7 @@ public ObjectStoreManagement objectStoreManagement() throws IOException {
25402540 @ NonNull
25412541 public ObjectStoreManagement objectStoreManagement (@ Nullable ObjectStoreOptions options ) throws IOException {
25422542 ensureNotClosing ();
2543- return new NatsObjectStoreManagement (this , options );
2543+ return new NatsObjectStoreManagement (this , options , null );
25442544 }
25452545
25462546 private void ensureNotClosing () throws IOException {
0 commit comments