Skip to content

Commit 7125b09

Browse files
ashutoshcppongad
authored andcommitted
---
yaml --- r: 8667 b: refs/heads/master c: 64aa5bb h: refs/heads/master i: 8665: d2dffb5 8663: e8ff75f
1 parent 4044f8d commit 7125b09

2 files changed

Lines changed: 3 additions & 6 deletions

File tree

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
refs/heads/master: 599d0a754286d0c10ba39d03e220267ce5af31f3
2+
refs/heads/master: 64aa5bb43601cb00cea27131d4561fa2b8144764
33
refs/heads/travis: 47e4fee4fd5af9b2a8ce46f23c72ec95f9b195b2
44
refs/heads/gh-pages: 6daca92127d91b7c2c99490080ecf8a13fa94cde
55
refs/tags/0.0.9: 22f1839238f66c39e67ed4dfdcd273b1ae2e8444

trunk/google-cloud-bigquery/src/main/java/com/google/cloud/bigquery/spi/v2/HttpBigQueryRpc.java

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -398,11 +398,8 @@ public GetQueryResultsResponse getQueryResults(String projectId, String jobId,
398398
public String open(JobConfiguration configuration) {
399399
try {
400400
Job loadJob = new Job().setConfiguration(configuration);
401-
StringBuilder builder = new StringBuilder()
402-
.append(BASE_RESUMABLE_URI)
403-
.append(options.getProjectId())
404-
.append("/jobs");
405-
GenericUrl url = new GenericUrl(builder.toString());
401+
String builder = BASE_RESUMABLE_URI + options.getProjectId() + "/jobs";
402+
GenericUrl url = new GenericUrl(builder);
406403
url.set("uploadType", "resumable");
407404
JsonFactory jsonFactory = bigquery.getJsonFactory();
408405
HttpRequestFactory requestFactory = bigquery.getRequestFactory();

0 commit comments

Comments
 (0)