Skip to content

Commit 59bde98

Browse files
Elevate access level of CollectionReference to support mocking (#6054)
Follow up to googleapis/google-cloud-java#3562
1 parent 612c20a commit 59bde98

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

+1-1
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)