Skip to content

Commit 2333cb1

Browse files
Praful Makanisduskis
authored andcommitted
---
yaml --- r: 33185 b: refs/heads/autosynth-language c: 264643d h: refs/heads/master i: 33183: 3b8ee13
1 parent fd3cd52 commit 2333cb1

3 files changed

Lines changed: 5 additions & 6 deletions

File tree

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ refs/heads/autosynth-errorreporting: effe8001d110ad584187b30aafc473db0dd4a15f
133133
refs/heads/autosynth-firestore: e79eeb26930dfae4439424ad2fda5874eeca54c8
134134
refs/heads/autosynth-iot: 044be280805a59e06d09658688c9ee474a9815ad
135135
refs/heads/autosynth-kms: d31449d6621a50fb16a4bef4f30f0f3051d27d7c
136-
refs/heads/autosynth-language: 3ec7a6f3bae9be9b51e69e605982adbbec66b119
136+
refs/heads/autosynth-language: 264643df7bcc715efbd648c3ab40389ae2253d19
137137
refs/heads/autosynth-os-login: 123ba209c5769d0ee067e0ce5848bec13b42a4f4
138138
refs/heads/autosynth-redis: 6bedce4d7c7c6ca6a22e83ad1780e08fdc565a9e
139139
refs/heads/autosynth-scheduler: 57f9fdb1e7de30c85f4ec7198931a07f50603e55

branches/autosynth-language/google-cloud-clients/google-cloud-bigquery/src/main/java/com/google/cloud/bigquery/BigQueryImpl.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -655,9 +655,9 @@ private static Tuple<? extends Page<FieldValueList>, Long> listTableData(
655655
try {
656656
final TableId completeTableId =
657657
tableId.setProjectId(
658-
Strings.isNullOrEmpty(serviceOptions.getProjectId())
659-
? tableId.getProject()
660-
: serviceOptions.getProjectId());
658+
Strings.isNullOrEmpty(tableId.getProject())
659+
? serviceOptions.getProjectId()
660+
: tableId.getProject());
661661
TableDataList result =
662662
runWithRetries(
663663
new Callable<TableDataList>() {

branches/autosynth-language/google-cloud-clients/google-cloud-bigquery/src/test/java/com/google/cloud/bigquery/BigQueryImplTest.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1246,8 +1246,7 @@ public void testListTableDataFromTableIdWithProject() {
12461246
EasyMock.expect(bigqueryRpcMock.listTableData(OTHER_PROJECT, DATASET, TABLE, EMPTY_RPC_OPTIONS))
12471247
.andReturn(TABLE_DATA_PB);
12481248
EasyMock.replay(bigqueryRpcMock);
1249-
BigQueryOptions bigQueryOptions =
1250-
createBigQueryOptionsForProject(OTHER_PROJECT, rpcFactoryMock);
1249+
BigQueryOptions bigQueryOptions = createBigQueryOptionsForProject(PROJECT, rpcFactoryMock);
12511250
bigquery = bigQueryOptions.getService();
12521251
Page<FieldValueList> page = bigquery.listTableData(tableId);
12531252
assertEquals(CURSOR, page.getNextPageToken());

0 commit comments

Comments
 (0)