Skip to content

Commit

Permalink
Fix minor docs and style errors
Browse files Browse the repository at this point in the history
  • Loading branch information
mziccard committed Feb 1, 2016
1 parent 931b4d3 commit 36d9dc3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion gcloud-java-bigquery/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,7 @@ public class GcloudBigQueryExample {
.build();
// Request query to be executed and wait for results
QueryResponse queryResponse = bigquery.query(queryRequest);
while (!queryResponse.jobComplete()) {
while (!queryResponse.jobCompleted()) {
Thread.sleep(1000L);
queryResponse = bigquery.getQueryResults(queryResponse.jobId());
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,8 @@ public void testBuilder() {
@Test
public void testToAndFromPb() {
assertTrue(BaseTableDefinition.fromPb(VIEW_DEFINITION.toPb()) instanceof ViewDefinition);
compareViewDefinition(VIEW_DEFINITION, BaseTableDefinition.<ViewDefinition>fromPb(VIEW_DEFINITION.toPb()));
compareViewDefinition(VIEW_DEFINITION,
BaseTableDefinition.<ViewDefinition>fromPb(VIEW_DEFINITION.toPb()));
}

private void compareViewDefinition(ViewDefinition expected, ViewDefinition value) {
Expand Down

0 comments on commit 36d9dc3

Please sign in to comment.