Skip to content

Commit

Permalink
Reword javadoc in BlobTargetOption and BlobWriteOption
Browse files Browse the repository at this point in the history
  • Loading branch information
mziccard committed Mar 2, 2016
1 parent a3fdbbc commit 3600338
Showing 1 changed file with 8 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -207,17 +207,17 @@ public static BlobTargetOption generationNotMatch(long generation) {

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

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

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

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

0 comments on commit 3600338

Please sign in to comment.