Skip to content

Commit 73d4808

Browse files
Use Lambda~
1 parent 52f36c3 commit 73d4808

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

firebase-firestore/src/main/java/com/google/firebase/firestore/local/IndexBackfiller.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ public Scheduler getScheduler() {
107107
public int backfill() {
108108
hardAssert(localDocumentsView != null, "setLocalDocumentsView() not called");
109109
hardAssert(indexManager != null, "setIndexManager() not called");
110-
return persistence.runTransaction("Backfill Indexes", this::writeIndexEntries);
110+
return persistence.runTransaction("Backfill Indexes", () -> this.writeIndexEntries());
111111
}
112112

113113
/** Writes index entries until the cap is reached. Returns the number of documents processed. */

0 commit comments

Comments
 (0)