File tree Expand file tree Collapse file tree
trunk/gcloud-java-storage/src/main/java/com/google/gcloud/storage Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11---
2- refs/heads/master: 1855ae1a86370e90bc5fae34dff58bf39cb27671
2+ refs/heads/master: 5dd0292085c00ac79aed381d4192bc33b09e2b97
33refs/heads/travis: e21ee7b88a5edc3f3d8c71f90c3fc32abf7e8dd6
44refs/heads/gh-pages: d1b373c30c176edc08692348167bec3a244bb823
55refs/heads/bigquery: 762fa5830e6c398c0396177e3e7fd243bd62cfc3
Original file line number Diff line number Diff line change 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 ;
Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments