Skip to content

Commit ef0dee7

Browse files
GavinTianYangchingor13
authored andcommitted
---
yaml --- r: 12219 b: refs/heads/autosynth-language c: e333f47 h: refs/heads/master i: 12217: ed8b77f 12215: e8179c8
1 parent 1f8ad9c commit ef0dee7

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

  • branches/autosynth-language/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
@@ -135,7 +135,7 @@ refs/heads/autosynth-errorreporting: 3d0566d6bebcc187f148bbed463b5a8e75b1edf6
135135
refs/heads/autosynth-firestore: 92b27fbc8855c9902168695abb0a8f1f433b750b
136136
refs/heads/autosynth-iot: 9d732be07d99843d8cb53d34ec0837328a807fce
137137
refs/heads/autosynth-kms: dcc6e15d68759010c8735cc868135bd7e6c1cc5f
138-
refs/heads/autosynth-language: fac25a3bb519bdd0685008108df73b5870ec7ba5
138+
refs/heads/autosynth-language: e333f47279194ab2505bedc49e8c6e249c0316f1
139139
refs/heads/autosynth-os-login: 13200d5c38f1f09e1625c4f2dc1c3b18bfdc5857
140140
refs/heads/autosynth-redis: 1259b3a2193c6ee73b91064b5ebdedd6b51396bc
141141
refs/heads/autosynth-scheduler: 22f042c3461cee9346c46fdade5c8fad1a80f431

branches/autosynth-language/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)