Skip to content

Commit eb3cd63

Browse files
GavinTianYangchingor13
authored andcommitted
---
yaml --- r: 12367 b: refs/heads/autosynth-spanner c: e333f47 h: refs/heads/master i: 12365: 840b9e6 12363: 152d2ff 12359: 407c39e 12351: b7831b6
1 parent 0f722b9 commit eb3cd63

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

  • branches/autosynth-spanner/google-cloud-clients/google-cloud-storage/src/main/java/com/google/cloud/storage/spi/v1

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ refs/heads/autosynth-os-login: daa910328b954bbe87068f684a3088ed910f1ddf
140140
refs/heads/autosynth-redis: 4c68cb0fbc599124e717ab3f24bd8a8a5d085ca9
141141
refs/heads/autosynth-scheduler: efd0edcd8fc21ccea9b4ffb0e0c4949ee04115aa
142142
refs/heads/autosynth-securitycenter: 80dc94847b954c97a641519177c98dc8e9e9fbe1
143-
refs/heads/autosynth-spanner: fac25a3bb519bdd0685008108df73b5870ec7ba5
143+
refs/heads/autosynth-spanner: e333f47279194ab2505bedc49e8c6e249c0316f1
144144
refs/heads/autosynth-speech: 60c3d2d3d3ad49800884d6ef6eb4be1e09c0c020
145145
refs/heads/autosynth-tasks: 69be7c7aa2f85dd651c7ec2120d9227096fe11b0
146146
refs/heads/autosynth-texttospeech: 14a1e3455c7b78a9558ab1bb74934b3f7b705f11

branches/autosynth-spanner/google-cloud-clients/google-cloud-storage/src/main/java/com/google/cloud/storage/spi/v1/HttpStorageRpc.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -718,7 +718,7 @@ public String open(StorageObject object, Map<Option, ?> options) {
718718
String scheme = url.getScheme();
719719
String host = url.getHost();
720720
int port = url.getPort();
721-
port = port < 0 ? port : url.toURL().getDefaultPort();
721+
port = port > 0 ? port : url.toURL().getDefaultPort();
722722
String path = "/upload" + url.getRawPath();
723723
url = new GenericUrl(scheme + "://" + host + ":" + port + path);
724724
url.set("uploadType", "resumable");

0 commit comments

Comments
 (0)