Skip to content

Commit 22d0376

Browse files
Fix API breaking change by keeping original method signature as overload
Co-authored-by: gunjansingh-msft <[email protected]>
1 parent 11434ba commit 22d0376

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

sdk/storage/azure-storage-blob/src/main/java/com/azure/storage/blob/specialized/BlobAsyncClientBase.java

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1171,7 +1171,7 @@ public Mono<BlobDownloadAsyncResponse> downloadStreamWithResponse(BlobRange rang
11711171
BlobRequestConditions requestConditions, boolean getRangeContentMd5) {
11721172
try {
11731173
return withContext(
1174-
context -> downloadStreamWithResponse(range, options, requestConditions, getRangeContentMd5, null, context));
1174+
context -> downloadStreamWithResponse(range, options, requestConditions, getRangeContentMd5, context));
11751175
} catch (RuntimeException ex) {
11761176
return monoError(LOGGER, ex);
11771177
}
@@ -1312,6 +1312,11 @@ private Mono<BlobDownloadContentAsyncResponse> downloadContentWithResponseHelper
13121312
data, r.getDeserializedHeaders())));
13131313
}
13141314

1315+
Mono<BlobDownloadAsyncResponse> downloadStreamWithResponse(BlobRange range, DownloadRetryOptions options,
1316+
BlobRequestConditions requestConditions, boolean getRangeContentMd5, Context context) {
1317+
return downloadStreamWithResponse(range, options, requestConditions, getRangeContentMd5, null, context);
1318+
}
1319+
13151320
Mono<BlobDownloadAsyncResponse> downloadStreamWithResponse(BlobRange range, DownloadRetryOptions options,
13161321
BlobRequestConditions requestConditions, boolean getRangeContentMd5, DownloadContentValidationOptions contentValidationOptions, Context context) {
13171322

0 commit comments

Comments
 (0)