Skip to content

Commit c440ac5

Browse files
committed
Merge pull request #352 from aozarov/temp
replace rewrite with copy in the javadoc
2 parents ed1d437 + bfd54bd commit c440ac5

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

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

+2-2
Original file line numberDiff line numberDiff line change
@@ -79,14 +79,14 @@ public long blobSize() {
7979
}
8080

8181
/**
82-
* Returns {@code true} of blob rewrite finished, {@code false} otherwise.
82+
* Returns {@code true} if blob copy has finished, {@code false} otherwise.
8383
*/
8484
public boolean isDone() {
8585
return rewriteResponse.isDone;
8686
}
8787

8888
/**
89-
* Returns the number of bytes copied.
89+
* Returns the number of bytes copied.
9090
*/
9191
public long totalBytesCopied() {
9292
return rewriteResponse.totalBytesRewritten;

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

+2-2
Original file line numberDiff line numberDiff line change
@@ -804,7 +804,7 @@ private CopyRequest(Builder builder) {
804804
}
805805

806806
/**
807-
* Returns the blob to rewrite, as a {@link BlobId}.
807+
* Returns the blob to copy, as a {@link BlobId}.
808808
*/
809809
public BlobId source() {
810810
return source;
@@ -818,7 +818,7 @@ public List<BlobSourceOption> sourceOptions() {
818818
}
819819

820820
/**
821-
* Returns the rewrite target.
821+
* Returns the {@link BlobInfo} for the target blob.
822822
*/
823823
public BlobInfo target() {
824824
return target;

0 commit comments

Comments
 (0)