Skip to content

Commit 5554444

Browse files
committed
---
yaml --- r: 7287 b: refs/heads/tswast-patch-1 c: d5cf726 h: refs/heads/master i: 7285: 4acb2f9 7283: 7d860cc 7279: 79dda81
1 parent b5425c1 commit 5554444

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
@@ -57,5 +57,5 @@ refs/tags/v0.18.0: 9d193c4c4b9d1c6f21515dd8e50836b9194ec9bb
5757
refs/tags/v0.19.0: e67b56e4d8dad5f9a7b38c9b2107c23c828f2ed5
5858
refs/tags/v0.20.0: 839f7fb7156535146aa1cb2c5aadd8d375d854e8
5959
refs/tags/v0.20.1: 370471f437f1f4f68a11e068df5cd6bf39edb1fa
60-
refs/heads/tswast-patch-1: 554b03ed1a5bfe1baba5528559c60b83eb9fd0f8
60+
refs/heads/tswast-patch-1: d5cf72639e67e133bfb9f491a74aa786c009d856
6161
refs/heads/pubsub-streaming-pull: 19262b752ee874eb2ca3b950eb2aef44d5a5267b

branches/tswast-patch-1/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)