We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 28f4c92 commit efab0afCopy full SHA for efab0af
samples/snippets/src/main/java/com/example/datastore/QuickstartSample.java
@@ -26,7 +26,7 @@
26
public class QuickstartSample {
27
public static void main(String... args) throws Exception {
28
// Instantiates a client
29
- Datastore datastore = DatastoreOptions.defaultInstance().service();
+ Datastore datastore = DatastoreOptions.getDefaultInstance().getService();
30
31
// The kind for the new entity
32
String kind = "Task";
0 commit comments