Skip to content

Commit 2c73909

Browse files
GavinTianYangchingor13
authored andcommitted
---
yaml --- r: 12425 b: refs/heads/autosynth-tasks c: e333f47 h: refs/heads/master i: 12423: 210c109
1 parent 96d0133 commit 2c73909

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

  • branches/autosynth-tasks/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
@@ -142,7 +142,7 @@ refs/heads/autosynth-scheduler: efd0edcd8fc21ccea9b4ffb0e0c4949ee04115aa
142142
refs/heads/autosynth-securitycenter: 80dc94847b954c97a641519177c98dc8e9e9fbe1
143143
refs/heads/autosynth-spanner: 1804eb46dd34a05b47163758d376a7fac49188f1
144144
refs/heads/autosynth-speech: 631df42a628621fe42eb4974c9eb725b2fe8e473
145-
refs/heads/autosynth-tasks: fac25a3bb519bdd0685008108df73b5870ec7ba5
145+
refs/heads/autosynth-tasks: e333f47279194ab2505bedc49e8c6e249c0316f1
146146
refs/heads/autosynth-texttospeech: 14a1e3455c7b78a9558ab1bb74934b3f7b705f11
147147
refs/heads/autosynth-trace: ce82b40155f6e05d2ed50d78386b16203dbf26d4
148148
refs/heads/autosynth-websecurityscanner: 33a2aab15b740c008d320c453a6ce20ca57ca844

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