Skip to content

Commit 9127a79

Browse files
committed
Merge pull request GoogleCloudPlatform#36 from GoogleCloudPlatform/fix-comment
Fix outdated comment referencing OAuth
2 parents 600e06a + 9e2ce24 commit 9127a79

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

bigquery/src/main/java/com/google/cloud/bigquery/samples/GettingStarted.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -130,8 +130,7 @@ public static void main(String[] args) throws IOException {
130130
}
131131
String projectId = sc.nextLine();
132132

133-
// Create a new Bigquery client authorized via OAuth 2.0 protocol
134-
// dataStoreFactory = new FileDataStoreFactory(DATA_STORE_DIR);
133+
// Create a new Bigquery client authorized via Application Default Credentials.
135134
Bigquery bigquery = createAuthorizedClient();
136135

137136
List<TableRow> rows = executeQuery("SELECT TOP(corpus, 10) as title, COUNT(*) as unique_words "

0 commit comments

Comments
 (0)