Skip to content

Commit b7fa22d

Browse files
Brian Chenschmidt-sebastian
andauthored
Update firebase-firestore/src/main/java/com/google/firebase/firestore/index/IndexEntry.java
Co-authored-by: Sebastian Schmidt <[email protected]>
1 parent c27c051 commit b7fa22d

File tree

1 file changed

+1
-4
lines changed
  • firebase-firestore/src/main/java/com/google/firebase/firestore/index

1 file changed

+1
-4
lines changed

firebase-firestore/src/main/java/com/google/firebase/firestore/index/IndexEntry.java

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,5 @@ public int compareTo(IndexEntry other) {
5555
return nullSafeCompare(getArrayValue(), other.getArrayValue(), Util::compareByteArrays);
5656
}
5757

58-
public static final Comparator<IndexEntry> SEMANTIC_COMPARATOR =
59-
(left, right) -> {
60-
return left.compareTo(right);
61-
};
58+
public static final Comparator<IndexEntry> SEMANTIC_COMPARATOR = IndexEntry::compareTo;
6259
}

0 commit comments

Comments
 (0)