Skip to content

Commit 58c6b77

Browse files
Update firebase-firestore/src/test/java/com/google/firebase/firestore/model/mutation/MutationTest.java
Co-authored-by: Sebastian Schmidt <[email protected]>
1 parent 92e5fc7 commit 58c6b77

File tree

1 file changed

+1
-3
lines changed
  • firebase-firestore/src/test/java/com/google/firebase/firestore/model/mutation

1 file changed

+1
-3
lines changed

firebase-firestore/src/test/java/com/google/firebase/firestore/model/mutation/MutationTest.java

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1027,9 +1027,7 @@ private void verifyOverlayRoundTrips(MutableDocument doc, Mutation... mutations)
10271027
}
10281028

10291029
Mutation overlay = null;
1030-
boolean isLatencyCompensatedDelete =
1031-
docForMutations.getVersion().equals(SnapshotVersion.NONE) && docForMutations.isNoDocument();
1032-
if (docForMutations.hasLocalMutations() || isLatencyCompensatedDelete) {
1030+
if (docForMutations.hasLocalMutations()) {
10331031
overlay = getOverlayMutation(docForMutations, mask);
10341032
overlay.applyToLocalView(docForOverlay, /* previousMask= */ null, now);
10351033
}

0 commit comments

Comments
 (0)