Skip to content

Commit 8d5049c

Browse files
authored
matching get/setcopytagsmode method names (Azure#29051)
1 parent 91705f0 commit 8d5049c

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

sdk/storage/azure-storage-blob/src/main/java/com/azure/storage/blob/options/BlobUploadFromUrlOptions.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ public BlobUploadFromUrlOptions setSourceAuthorization(HttpAuthorization sourceA
188188
/**
189189
* @return The copy source tags mode.
190190
*/
191-
public BlobCopySourceTagsMode getCopySourceTags() {
191+
public BlobCopySourceTagsMode getCopySourceTagsMode() {
192192
return copySourceTags;
193193
}
194194

@@ -198,7 +198,7 @@ public BlobCopySourceTagsMode getCopySourceTags() {
198198
* @param copySourceTags Indicates if a legal hold should be placed on the blob.
199199
* @return The updated options.
200200
*/
201-
public BlobUploadFromUrlOptions setCopySourceTags(BlobCopySourceTagsMode copySourceTags) {
201+
public BlobUploadFromUrlOptions setCopySourceTagsMode(BlobCopySourceTagsMode copySourceTags) {
202202
this.copySourceTags = copySourceTags;
203203
return this;
204204
}

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -509,7 +509,7 @@ Mono<Response<BlockBlobItem>> uploadFromUrlWithResponse(BlobUploadFromUrlOptions
509509
sourceRequestConditions.getIfMatch(), sourceRequestConditions.getIfNoneMatch(),
510510
sourceRequestConditions.getTagsConditions(),
511511
null, options.getContentMd5(), tagsToString(options.getTags()),
512-
options.isCopySourceBlobProperties(), sourceAuth, options.getCopySourceTags(), options.getHeaders(),
512+
options.isCopySourceBlobProperties(), sourceAuth, options.getCopySourceTagsMode(), options.getHeaders(),
513513
getCustomerProvidedKey(), encryptionScope,
514514
context.addData(AZ_TRACING_NAMESPACE_KEY, STORAGE_TRACING_NAMESPACE_VALUE))
515515
.map(rb -> {

0 commit comments

Comments
 (0)