Skip to content

Commit ba8acf1

Browse files
committed
Few minor fixes and make java8 happy
1 parent e46ce4f commit ba8acf1

6 files changed

Lines changed: 8 additions & 8 deletions

File tree

gcloud-java-bigquery/src/main/java/com/google/gcloud/bigquery/Acl.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -163,8 +163,8 @@ Access toPb() {
163163
}
164164

165165
/**
166-
* Class for a BigQuery Group entity. Objects of this class represent a group to grante access to.
167-
* A Group entity can be created given the group's email or can be a special group:
166+
* Class for a BigQuery Group entity. Objects of this class represent a group to granted access
167+
* to. A Group entity can be created given the group's email or can be a special group:
168168
* {@link #ofProjectOwners()}, {@link #ofProjectReaders()}, {@link #ofProjectWriters()} or
169169
* {@link #ofAllAuthenticatedUsers()}.
170170
*/

gcloud-java-bigquery/src/main/java/com/google/gcloud/bigquery/JobStatus.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ public enum State {
5656
/**
5757
* Returns the state of the job. A {@link State#PENDING} job is waiting to be executed. A
5858
* {@link State#RUNNING} is being executed. A {@link State#DONE} job has completed either
59-
* suceeding or failing. If failed {@link #error()} will be non-null.
59+
* succeeding or failing. If failed {@link #error()} will be non-null.
6060
*/
6161
public State state() {
6262
return state;

gcloud-java-bigquery/src/main/java/com/google/gcloud/bigquery/QueryJobInfo.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,7 @@ public Builder priority(Priority priority) {
239239
* the query is allowed to create large results at a slight cost in performance. If {@code true}
240240
* {@link Builder#destinationTable(TableId)} must be provided.
241241
*
242-
* @see <a href="https://cloud.google.com/bigquery/querying-data#largequeryresults>
242+
* @see <a href="https://cloud.google.com/bigquery/querying-data#largequeryresults">
243243
* Returning Large Query Results</a>
244244
*/
245245
public Builder allowLargeResults(Boolean allowLargeResults) {
@@ -309,7 +309,7 @@ private QueryJobInfo(Builder builder) {
309309
* the query is allowed to create large results at a slight cost in performance.
310310
* the query is allowed to create large results at a slight cost in performance.
311311
*
312-
* @see <a href="https://cloud.google.com/bigquery/querying-data#largequeryresults>
312+
* @see <a href="https://cloud.google.com/bigquery/querying-data#largequeryresults">
313313
* Returning Large Query Results</a>
314314
*/
315315
public Boolean allowLargeResults() {

gcloud-java-bigquery/src/main/java/com/google/gcloud/bigquery/TableInfo.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ public static Builder builder(TableId tableId, Schema schema) {
194194
* @param tableId table id
195195
* @param schema the schema of the table
196196
*/
197-
public static BaseTableInfo of(TableId tableId, Schema schema) {
197+
public static TableInfo of(TableId tableId, Schema schema) {
198198
return builder(tableId, schema).build();
199199
}
200200

gcloud-java-bigquery/src/main/java/com/google/gcloud/bigquery/testing/package-info.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
* A testing helper for Google BigQuery.
1919
*
2020
* <p>A simple usage example:
21+
*
2122
* <p>Before the test:
2223
* <pre> {@code
2324
* RemoteBigQueryHelper bigqueryHelper = RemoteBigQueryHelper.create();
@@ -34,4 +35,4 @@
3435
* @see <a href="https://github.com/GoogleCloudPlatform/gcloud-java/blob/master/TESTING.md#testing-code-that-uses-bigquery">
3536
* gcloud-java tools for testing</a>
3637
*/
37-
package com.google.gcloud.bigquery.testing;
38+
package com.google.gcloud.bigquery.testing;

gcloud-java-bigquery/src/test/java/com/google/gcloud/bigquery/BigQueryImplTest.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,6 @@
3939
import com.google.common.collect.ImmutableMap;
4040
import com.google.common.collect.Iterables;
4141
import com.google.common.collect.Lists;
42-
import com.google.gcloud.AuthCredentials;
4342
import com.google.gcloud.Page;
4443
import com.google.gcloud.RetryParams;
4544
import com.google.gcloud.bigquery.InsertAllRequest.RowToInsert;

0 commit comments

Comments
 (0)