File tree Expand file tree Collapse file tree 2 files changed +8
-8
lines changed
firebase-firestore/src/main/java/com/google/firebase/firestore Expand file tree Collapse file tree 2 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -105,7 +105,7 @@ public interface InstanceRegistry {
105
105
private volatile FirestoreClient client ;
106
106
private final GrpcMetadataProvider metadataProvider ;
107
107
108
- @ Nullable private PersistentCacheManager persistentCacheManager ;
108
+ @ Nullable private PersistentCacheIndexManager persistentCacheIndexManager ;
109
109
110
110
@ NonNull
111
111
private static FirebaseApp getDefaultFirebaseApp () {
@@ -407,16 +407,16 @@ public Task<Void> setIndexConfiguration(@NonNull String json) {
407
407
/** @hide */
408
408
@ RestrictTo (RestrictTo .Scope .LIBRARY )
409
409
@ Nullable
410
- public PersistentCacheManager getPersistentCacheIndexManager () {
410
+ public PersistentCacheIndexManager getPersistentCacheIndexManager () {
411
411
ensureClientConfigured ();
412
- if (persistentCacheManager != null ) {
413
- return persistentCacheManager ;
412
+ if (persistentCacheIndexManager != null ) {
413
+ return persistentCacheIndexManager ;
414
414
}
415
415
if (settings .isPersistenceEnabled ()
416
416
|| settings .getCacheSettings () instanceof PersistentCacheSettings ) {
417
- persistentCacheManager = new PersistentCacheManager (client );
417
+ persistentCacheIndexManager = new PersistentCacheIndexManager (client );
418
418
}
419
- return persistentCacheManager ;
419
+ return persistentCacheIndexManager ;
420
420
}
421
421
422
422
/**
Original file line number Diff line number Diff line change 21
21
// TODO(csi): Remove the `hide` and scope annotations.
22
22
/** @hide */
23
23
@ RestrictTo (RestrictTo .Scope .LIBRARY )
24
- public class PersistentCacheManager {
24
+ public class PersistentCacheIndexManager {
25
25
@ NonNull private FirestoreClient client ;
26
26
27
27
@ RestrictTo (RestrictTo .Scope .LIBRARY )
28
- public PersistentCacheManager (FirestoreClient client ) {
28
+ public PersistentCacheIndexManager (FirestoreClient client ) {
29
29
this .client = client ;
30
30
}
31
31
You can’t perform that action at this time.
0 commit comments