Skip to content

Commit d92e241

Browse files
GavinTianYangchingor13
authored andcommitted
---
yaml --- r: 12131 b: refs/heads/autosynth-firestore c: e333f47 h: refs/heads/master i: 12129: 532f2c2 12127: e1b93f8
1 parent 4c82517 commit d92e241

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

  • branches/autosynth-firestore/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
@@ -132,7 +132,7 @@ refs/heads/autosynth-containeranalysis: 781fdb430a60f9a6491f116e31e4e10118157bdb
132132
refs/heads/autosynth-datastore: af1fb76aa3eee02fe6f31f8fa1c72a4f048d149b
133133
refs/heads/autosynth-dialogflow: ebdd13c445b9674ff9ad4601f78d7ecd6f9c3660
134134
refs/heads/autosynth-errorreporting: 3d0566d6bebcc187f148bbed463b5a8e75b1edf6
135-
refs/heads/autosynth-firestore: fac25a3bb519bdd0685008108df73b5870ec7ba5
135+
refs/heads/autosynth-firestore: e333f47279194ab2505bedc49e8c6e249c0316f1
136136
refs/heads/autosynth-iot: 2a21f544087dee8f5b5802779ff9e2a70c1acdca
137137
refs/heads/autosynth-kms: 44920781bf79d494a1835207fc7110b743a1d7d4
138138
refs/heads/autosynth-language: bfdbef24d10a7845cd69f709e7dfb92c965d4d1a

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