File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11---
2- refs/heads/master: b28b3079539e2c1635da8a2e795055c05f2f5a07
2+ refs/heads/master: abc11cea3aedd69e47ae88fa50fd5ad96d16823e
33refs/heads/travis: 0fa997e2fc9c6b61b2d91e6d163655aae67d44b6
44refs/heads/gh-pages: 5a10432ecc75f29812e33a8236c900379509fe99
Original file line number Diff line number Diff line change @@ -143,7 +143,7 @@ <h4>Example: Retrieve Datastore Entries</h4>
143143
144144// Authentication is automatic inside Google Compute Engine
145145// and Google App Engine.
146- DatastoreOptions options = DatastoreOptions.builder().build ();
146+ DatastoreOptions options = DatastoreOptions.defaultInstance ();
147147Datastore datastore = options.service();
148148KeyFactory keyFactory = datastore.newKeyFactory().kind(< span class ="hljs-string "> KIND</ span > );
149149Key key = keyFactory.newKey(keyName);
You can’t perform that action at this time.
0 commit comments