Skip to content

Commit c0dec47

Browse files
committed
---
yaml --- r: 4651 b: refs/heads/logging-alpha c: 5dd0292 h: refs/heads/master i: 4649: c56738d 4647: 8b99aff
1 parent 9abc8ca commit c0dec47

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

branches/logging-alpha/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;

branches/logging-alpha/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)