File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed
Original file line numberDiff line numberDiff line change
@@ -546,9 +546,9 @@ public Blob reload(BlobSourceOption... options) {
546546
}
547547

548548
/**
549-
* Updates the blob properties. Optional {@code options} parameter specifies the preconditions for
550-
* applying the update. To update the properties you need to call {@link #toBuilder()}, set the
551-
* properties you want to change, build the new {@code Blob} instance and then call {@link
549+
* Updates the blob properties. Optional {@code options} parameter can contain the preconditions
550+
* for applying the update. To update the properties you need to call {@link #toBuilder()}, set
551+
* the properties you want to change, build the new {@code Blob} instance and then call {@link
552552
* #update(BlobTargetOption...)}.
553553
*
554554
* <p>The property update details are described in {@link Storage#update(BlobInfo)}. {@link
Original file line numberDiff line numberDiff line change
@@ -1992,8 +1992,8 @@ Blob create(
19921992
* Updates the blob properties if the preconditions specified by {@code options} are met. The
19931993
* property update works as described in {@link #update(BlobInfo)}.
19941994
*
1995-
* <p>{@code options} parameter allows to specify the preconditions for applying the update. E.g.
1996-
* update of the blob properties might be required only if the properties have not been updated
1995+
* <p>{@code options} parameter can contain the preconditions for applying the update. E.g. update
1996+
* of the blob properties might be required only if the properties have not been updated
19971997
* externally. {@code StorageException} with the code {@code 412} is thrown if preconditions fail.
19981998
*
19991999
* <p>Example of updating the content type only if the properties are not updated externally:

0 commit comments

Comments
 (0)