We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b28b307 commit abc11ceCopy full SHA for abc11ce
1 file changed
src/site/resources/index.html
@@ -143,7 +143,7 @@ <h4>Example: Retrieve Datastore Entries</h4>
143
144
// Authentication is automatic inside Google Compute Engine
145
// and Google App Engine.
146
-DatastoreOptions options = DatastoreOptions.builder().build();
+DatastoreOptions options = DatastoreOptions.defaultInstance();
147
Datastore datastore = options.service();
148
KeyFactory keyFactory = datastore.newKeyFactory().kind(<span class="hljs-string">KIND</span>);
149
Key key = keyFactory.newKey(keyName);
0 commit comments