We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 063c88b + b7fa22d commit 7202745Copy full SHA for 7202745
firebase-firestore/src/main/java/com/google/firebase/firestore/index/IndexEntry.java
@@ -55,8 +55,5 @@ public int compareTo(IndexEntry other) {
55
return nullSafeCompare(getArrayValue(), other.getArrayValue(), Util::compareByteArrays);
56
}
57
58
- public static final Comparator<IndexEntry> SEMANTIC_COMPARATOR =
59
- (left, right) -> {
60
- return left.compareTo(right);
61
- };
+ public static final Comparator<IndexEntry> SEMANTIC_COMPARATOR = IndexEntry::compareTo;
62
0 commit comments