Skip to content

Commit 1e44257

Browse files
authored
Firestore: removed unused compareTo() computation (#5132)
1 parent 52389ce commit 1e44257

File tree

1 file changed

+0
-1
lines changed
  • firebase-firestore/src/main/java/com/google/firebase/firestore/core

1 file changed

+0
-1
lines changed

firebase-firestore/src/main/java/com/google/firebase/firestore/core/View.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -287,7 +287,6 @@ public ViewChange applyChanges(DocumentChanges docChanges, TargetChange targetCh
287287
viewChanges,
288288
(DocumentViewChange o1, DocumentViewChange o2) -> {
289289
int typeComp = compareIntegers(View.changeTypeOrder(o1), View.changeTypeOrder(o2));
290-
o1.getType().compareTo(o2.getType());
291290
if (typeComp != 0) {
292291
return typeComp;
293292
}

0 commit comments

Comments
 (0)