Skip to content

Commit 3600338

Browse files
committed
Reword javadoc in BlobTargetOption and BlobWriteOption
1 parent a3fdbbc commit 3600338

1 file changed

Lines changed: 8 additions & 8 deletions

File tree

  • gcloud-java-storage/src/main/java/com/google/gcloud/storage

gcloud-java-storage/src/main/java/com/google/gcloud/storage/Bucket.java

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -207,17 +207,17 @@ public static BlobTargetOption generationNotMatch(long generation) {
207207

208208
/**
209209
* Returns an option for blob's metageneration match. If this option is used the request will
210-
* fail if metageneration does not match the provided value. Either this option or
211-
* {@link #metagenerationNotMatch(long)} can be provided at the same time.
210+
* fail if metageneration does not match the provided value. This option can not be provided
211+
* together with {@link #metagenerationNotMatch(long)}.
212212
*/
213213
public static BlobTargetOption metagenerationMatch(long metageneration) {
214214
return new BlobTargetOption(StorageRpc.Option.IF_METAGENERATION_MATCH, metageneration);
215215
}
216216

217217
/**
218218
* Returns an option for blob's metageneration mismatch. If this option is used the request will
219-
* fail if metageneration matches the provided value. Either this option or
220-
* {@link #metagenerationMatch(long)} can be provided at the same time.
219+
* fail if metageneration matches the provided value. This option can not be provided together
220+
* with {@link #metagenerationMatch(long)}.
221221
*/
222222
public static BlobTargetOption metagenerationNotMatch(long metageneration) {
223223
return new BlobTargetOption(StorageRpc.Option.IF_METAGENERATION_NOT_MATCH, metageneration);
@@ -353,8 +353,8 @@ public static BlobWriteOption generationNotMatch(long generation) {
353353

354354
/**
355355
* Returns an option for blob's metageneration match. If this option is used the request will
356-
* fail if metageneration does not match the provided value. Either this option or
357-
* {@link #metagenerationNotMatch(long)} can be provided at the same time.
356+
* fail if metageneration does not match the provided value. This option can not be provided
357+
* together with {@link #metagenerationNotMatch(long)}.
358358
*/
359359
public static BlobWriteOption metagenerationMatch(long metageneration) {
360360
return new BlobWriteOption(Storage.BlobWriteOption.Option.IF_METAGENERATION_MATCH,
@@ -363,8 +363,8 @@ public static BlobWriteOption metagenerationMatch(long metageneration) {
363363

364364
/**
365365
* Returns an option for blob's metageneration mismatch. If this option is used the request will
366-
* fail if metageneration matches the provided value. Either this option or
367-
* {@link #metagenerationMatch(long)} can be provided at the same time.
366+
* fail if metageneration matches the provided value. This option can not be provided together
367+
* with {@link #metagenerationMatch(long)}.
368368
*/
369369
public static BlobWriteOption metagenerationNotMatch(long metageneration) {
370370
return new BlobWriteOption(Storage.BlobWriteOption.Option.IF_METAGENERATION_NOT_MATCH,

0 commit comments

Comments
 (0)