Skip to content

Commit 7518e70

Browse files
committed
---
yaml --- r: 3979 b: refs/heads/pubsub-alpha c: d5cf726 h: refs/heads/master i: 3977: b994e34 3975: 148c3f3
1 parent 8a826b5 commit 7518e70

2 files changed

Lines changed: 2 additions & 3 deletions

File tree

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
refs/heads/master: 36a62ef856d199f8efd09501b5ba65c422c01f23
33
refs/heads/travis: e21ee7b88a5edc3f3d8c71f90c3fc32abf7e8dd6
44
refs/heads/gh-pages: 7406918e071dd2c5677a638ae2a06e7592b6542c
5-
refs/heads/pubsub-alpha: 554b03ed1a5bfe1baba5528559c60b83eb9fd0f8
5+
refs/heads/pubsub-alpha: d5cf72639e67e133bfb9f491a74aa786c009d856
66
refs/heads/update-datastore: 47aae517c2cb33f1dccd909adaced73ec9d0f4df
77
refs/tags/0.0.9: 22f1839238f66c39e67ed4dfdcd273b1ae2e8444
88
refs/tags/v0.0.10: 207ebd2a3472fddee69fe1298eb90429e3306efd

branches/pubsub-alpha/gcloud-java-storage/src/main/java/com/google/cloud/storage/spi/DefaultStorageRpc.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -355,8 +355,7 @@ public byte[] load(StorageObject from, Map<Option, ?> options) {
355355
.setIfGenerationMatch(IF_GENERATION_MATCH.getLong(options))
356356
.setIfGenerationNotMatch(IF_GENERATION_NOT_MATCH.getLong(options));
357357
ByteArrayOutputStream out = new ByteArrayOutputStream();
358-
getRequest.getMediaHttpDownloader().setDirectDownloadEnabled(true);
359-
getRequest.executeMediaAndDownloadTo(out);
358+
getRequest.executeMedia().download(out);
360359
return out.toByteArray();
361360
} catch (IOException ex) {
362361
throw translate(ex);

0 commit comments

Comments
 (0)