Skip to content
This repository was archived by the owner on Jan 31, 2022. It is now read-only.

Commit 50b5278

Browse files
author
Clément Le Provost
committed
Fix missing lazy instantiation of MirroredIndex.localIndex variable
1 parent 57e9ab1 commit 50b5278

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

algoliasearch/src/offline/java/com/algolia/search/saas/MirroredIndex.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -618,7 +618,7 @@ public void run()
618618
* @return `true` if data exists on disk for this index, `false` otherwise.
619619
*/
620620
public boolean hasOfflineData() {
621-
return localIndex.exists();
621+
return getLocalIndex().exists();
622622
}
623623

624624
/**

0 commit comments

Comments
 (0)