Skip to content

Commit 1245931

Browse files
campionfellindpebot
authored andcommitted
Fix typo in comment (#1057)
1 parent 8160953 commit 1245931

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

firestore/src/main/java/com/example/firestore/snippets/References.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ public CollectionReference getACollectionRef() {
4949
*/
5050
public DocumentReference getADocumentRef() {
5151
// [START fs_document_ref]
52-
// Reference to a document with id "alovelace" in the collection "employees"
52+
// Reference to a document with id "alovelace" in the collection "users"
5353
DocumentReference document = db.collection("users").document("alovelace");
5454
// [END fs_document_ref]
5555
return document;
@@ -62,7 +62,7 @@ public DocumentReference getADocumentRef() {
6262
*/
6363
public DocumentReference getADocumentRefUsingPath() {
6464
// [START fs_document_path_ref]
65-
// Reference to a document with id "alovelace" in the collection "employees"
65+
// Reference to a document with id "alovelace" in the collection "users"
6666
DocumentReference document = db.document("users/alovelace");
6767
// [END fs_document_path_ref]
6868
return document;

0 commit comments

Comments
 (0)