Skip to content

Commit 7bbdde0

Browse files
committed
---
yaml --- r: 5975 b: refs/heads/tswast-patch-1 c: b68088c h: refs/heads/master i: 5973: fdd30fe 5971: d20e817 5967: 0a8c650
1 parent de9902f commit 7bbdde0

2 files changed

Lines changed: 1 addition & 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: 0246cc726279c70b370ebae5bf15f1c7a276bd77
60+
refs/heads/tswast-patch-1: b68088c647810672af21dc4a0453376c24e4e023
6161
refs/heads/pubsub-streaming-pull: 19262b752ee874eb2ca3b950eb2aef44d5a5267b

branches/tswast-patch-1/src/main/java/com/google/gcloud/examples/StorageExample.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,6 @@
4040
import java.util.Arrays;
4141
import java.util.HashMap;
4242
import java.util.Map;
43-
import java.util.Random;
4443

4544
/**
4645
* An example of using the Google Cloud Storage.
@@ -195,7 +194,6 @@ private static class UploadAction extends StorageAction<Tuple<Path, Blob>> {
195194
@Override
196195
public void run(StorageService storage, Tuple<Path, Blob> tuple) throws Exception {
197196
if (Files.size(tuple.x()) > 1024) {
198-
Random rnd = new Random();
199197
try (BlobWriteChannel writer = storage.writer(tuple.y())) {
200198
byte[] buffer = new byte[1024];
201199
try (InputStream input = Files.newInputStream(tuple.x())) {

0 commit comments

Comments
 (0)