diff --git a/firestore/src/main/java/com/example/firestore/snippets/References.java b/firestore/src/main/java/com/example/firestore/snippets/References.java index aa863858171..afa2d7506bc 100644 --- a/firestore/src/main/java/com/example/firestore/snippets/References.java +++ b/firestore/src/main/java/com/example/firestore/snippets/References.java @@ -49,7 +49,7 @@ public CollectionReference getACollectionRef() { */ public DocumentReference getADocumentRef() { // [START fs_document_ref] - // Reference to a document with id "alovelace" in the collection "employees" + // Reference to a document with id "alovelace" in the collection "users" DocumentReference document = db.collection("users").document("alovelace"); // [END fs_document_ref] return document; @@ -62,7 +62,7 @@ public DocumentReference getADocumentRef() { */ public DocumentReference getADocumentRefUsingPath() { // [START fs_document_path_ref] - // Reference to a document with id "alovelace" in the collection "employees" + // Reference to a document with id "alovelace" in the collection "users" DocumentReference document = db.document("users/alovelace"); // [END fs_document_path_ref] return document;