Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -1374,7 +1374,7 @@ public Mono<Response<Map<String, String>>> getTagsWithResponse(BlobGetTagsOption
}

Mono<Response<Map<String, String>>> getTagsWithResponse(BlobGetTagsOptions options, Context context) {
StorageImplUtils.assertNotNull("options", options);
options = (options == null) ? new BlobGetTagsOptions() : options;
BlobRequestConditions requestConditions = (options.getRequestConditions() == null)
? new BlobRequestConditions() : options.getRequestConditions();
return this.azureBlobStorage.blobs().getTagsWithRestResponseAsync(null, null, null, null, snapshot,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@ public Mono<Response<String>> renewLeaseWithResponse(BlobRenewLeaseOptions optio
}

Mono<Response<String>> renewLeaseWithResponse(BlobRenewLeaseOptions options, Context context) {
StorageImplUtils.assertNotNull("options", options);
options = (options == null) ? new BlobRenewLeaseOptions() : options;
BlobLeaseRequestConditions requestConditions = (options.getRequestConditions() == null)
? new BlobLeaseRequestConditions() : options.getRequestConditions();
context = context == null ? Context.NONE : context;
Expand Down Expand Up @@ -321,7 +321,7 @@ public Mono<Response<Void>> releaseLeaseWithResponse(BlobReleaseLeaseOptions opt
}

Mono<Response<Void>> releaseLeaseWithResponse(BlobReleaseLeaseOptions options, Context context) {
StorageImplUtils.assertNotNull("options", options);
options = (options == null) ? new BlobReleaseLeaseOptions() : options;
BlobLeaseRequestConditions requestConditions = (options.getRequestConditions() == null)
? new BlobLeaseRequestConditions() : options.getRequestConditions();
context = context == null ? Context.NONE : context;
Expand Down Expand Up @@ -414,7 +414,7 @@ public Mono<Response<Integer>> breakLeaseWithResponse(BlobBreakLeaseOptions opti
}

Mono<Response<Integer>> breakLeaseWithResponse(BlobBreakLeaseOptions options, Context context) {
StorageImplUtils.assertNotNull("options", options);
options = (options == null) ? new BlobBreakLeaseOptions() : options;
BlobLeaseRequestConditions requestConditions = (options.getRequestConditions() == null)
? new BlobLeaseRequestConditions() : options.getRequestConditions();
context = context == null ? Context.NONE : context;
Expand Down