Skip to content

Commit 9e2ce24

Browse files
author
Jerjou Cheng
committed
Fix outdated comment referencing OAuth
1 parent 600e06a commit 9e2ce24

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)