diff --git a/appengine-java8/datastore/src/test/java/com/example/appengine/QueriesTest.java b/appengine-java8/datastore/src/test/java/com/example/appengine/QueriesTest.java index 69bcec3dafa..fe0bcb6d1bf 100644 --- a/appengine-java8/datastore/src/test/java/com/example/appengine/QueriesTest.java +++ b/appengine-java8/datastore/src/test/java/com/example/appengine/QueriesTest.java @@ -183,7 +183,6 @@ public void ancestorFilterExample_returnsMatchingEntities() throws Exception { @Test public void ancestorQueryExample_returnsMatchingEntities() throws Exception { - // [START gae_java8_datastore_ancestor_query] DatastoreService datastore = DatastoreServiceFactory.getDatastoreService(); Entity tom = new Entity("Person", "Tom"); @@ -211,7 +210,6 @@ public void ancestorQueryExample_returnsMatchingEntities() throws Exception { // but not campingPhoto, because tom is not an ancestor List results = datastore.prepare(photoQuery).asList(FetchOptions.Builder.withDefaults()); - // [END gae_java8_datastore_ancestor_query] assertWithMessage("query results") .that(results)