File tree Expand file tree Collapse file tree
branches/logging-alpha/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 @@ -12,7 +12,7 @@ refs/heads/compute-alpha: 969cba2627f1d53d352cc4a5ffe0879dacf65e6c
1212refs/heads/dns-alpha: 2f90e7e338349287ace33375896907af0f032ca1
1313refs/heads/dns-alpha-batch: 17442b07867021b85d0452f5f3eda29a3413288f
1414refs/heads/gcs-nio: 283aeaf15efdcf3621eb6859f05e55ad7764375d
15- refs/heads/logging-alpha: 1855ae1a86370e90bc5fae34dff58bf39cb27671
15+ refs/heads/logging-alpha: 5dd0292085c00ac79aed381d4192bc33b09e2b97
1616refs/tags/v0.1.0: a615317f7424ed58621b1f65d5c4d8cbbe8a6ed8
1717refs/tags/v0.1.1: 7a7f6985fe465e9dd6a075af55493f42b4933be0
1818refs/tags/v0.1.2: 3eb3fe866ba22487686048f45d927b8c8638ea3f
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