Skip to content

Commit b0d028e

Browse files
committed
---
yaml --- r: 1797 b: refs/heads/master c: 5dd0292 h: refs/heads/master i: 1795: 22c268d
1 parent 208f9ff commit b0d028e

3 files changed

Lines changed: 8 additions & 7 deletions

File tree

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
refs/heads/master: 1855ae1a86370e90bc5fae34dff58bf39cb27671
2+
refs/heads/master: 5dd0292085c00ac79aed381d4192bc33b09e2b97
33
refs/heads/travis: e21ee7b88a5edc3f3d8c71f90c3fc32abf7e8dd6
44
refs/heads/gh-pages: d1b373c30c176edc08692348167bec3a244bb823
55
refs/heads/bigquery: 762fa5830e6c398c0396177e3e7fd243bd62cfc3

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,8 @@
3333

3434
/**
3535
* Google Storage blob copy writer. A {@code CopyWriter} object allows to copy both blob's data and
36-
* information. To override source blob's information call {@link Storage#copy(Storage.CopyRequest)}
37-
* with a {@code CopyRequest} object where the copy target is set via
36+
* information. To override source blob's information supply a {@code BlobInfo} to the
37+
* {@code CopyRequest} using either
3838
* {@link Storage.CopyRequest.Builder#target(BlobInfo, Storage.BlobTargetOption...)} or
3939
* {@link Storage.CopyRequest.Builder#target(BlobInfo, Iterable)}.
4040
*
@@ -176,7 +176,7 @@ static class Builder {
176176
private final BlobId source;
177177
private final Map<StorageRpc.Option, ?> sourceOptions;
178178
private final boolean overrideInfo;
179-
private BlobInfo target;
179+
private final BlobInfo target;
180180
private final Map<StorageRpc.Option, ?> targetOptions;
181181
private BlobInfo result;
182182
private long blobSize;

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

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1386,9 +1386,10 @@ public static Builder builder() {
13861386

13871387
/**
13881388
* Sends a copy request. This method copies both blob's data and information. To override source
1389-
* blob's information set the copy target via
1390-
* {@link CopyRequest.Builder#target(BlobInfo, BlobTargetOption...)} or
1391-
* {@link CopyRequest.Builder#target(BlobInfo, Iterable)}.
1389+
* blob's information supply a {@code BlobInfo} to the
1390+
* {@code CopyRequest} using either
1391+
* {@link Storage.CopyRequest.Builder#target(BlobInfo, Storage.BlobTargetOption...)} or
1392+
* {@link Storage.CopyRequest.Builder#target(BlobInfo, Iterable)}.
13921393
*
13931394
* <p>This method returns a {@link CopyWriter} object for the provided {@code CopyRequest}. If
13941395
* source and destination objects share the same location and storage class the source blob is

0 commit comments

Comments
 (0)