Skip to content

Commit 724e42c

Browse files
GavinTianYangchingor13
authored andcommitted
---
yaml --- r: 11833 b: refs/heads/autosynth-asset c: e333f47 h: refs/heads/master i: 11831: 4503b9c
1 parent 51880e9 commit 724e42c

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

  • branches/autosynth-asset/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
@@ -122,7 +122,7 @@ refs/heads/autosynth-vision: d758c43ba2ef4f4f7ad07b722617cb39fe3f29db
122122
refs/heads/spanner: 54a5e197bfe0a004e13c190427f46c3413ab572d
123123
refs/tags/v0.68.0: 9cc799fcf68c82ab431d425fefa58ef615ce8e5b
124124
refs/tags/v0.69.0: 78f67a29e8b9c46ba01de566a2eae0fd1c03edea
125-
refs/heads/autosynth-asset: fac25a3bb519bdd0685008108df73b5870ec7ba5
125+
refs/heads/autosynth-asset: e333f47279194ab2505bedc49e8c6e249c0316f1
126126
refs/heads/autosynth-automl: 56958465d6c0647fa6a8dd9bb78c9f4aac1ecb4d
127127
refs/heads/autosynth-bigquerydatatransfer: 3f0392527215b1710401528d090e8e852f2fd7ae
128128
refs/heads/autosynth-bigquerystorage: 167e37d9259c6460538187b96e6fb74542af84a1

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