Skip to content
This repository was archived by the owner on Aug 30, 2026. It is now read-only.

Commit 5f70a96

Browse files
Elevate access level of CollectionReference to support mocking (#6054)
Follow up to googleapis/google-cloud-java#3562
1 parent c978d6b commit 5f70a96

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎google-cloud-firestore/src/main/java/com/google/cloud/firestore/CollectionReference.java‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ public class CollectionReference extends Query {
4848
* @param firestore The Firestore client.
4949
* @param collectionPath The Path of this collection.
5050
*/
51-
CollectionReference(FirestoreImpl firestore, ResourcePath collectionPath) {
51+
protected CollectionReference(FirestoreImpl firestore, ResourcePath collectionPath) {
5252
super(firestore, collectionPath);
5353
}
5454

0 commit comments

Comments
 (0)