Skip to content

Commit 91c4d8a

Browse files
Backport early exit from Web (#3595)
1 parent a0c54fd commit 91c4d8a

File tree

1 file changed

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

1 file changed

+2
-0
lines changed

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -287,6 +287,7 @@ private Pair<Value, Boolean> getAscendingBound(
287287
segmentValue = cursorValue;
288288
segmentInclusive = bound.isInclusive();
289289
}
290+
break;
290291
}
291292
}
292293
}
@@ -351,6 +352,7 @@ private Pair<Value, Boolean> getDescendingBound(
351352
segmentValue = cursorValue;
352353
segmentInclusive = bound.isInclusive();
353354
}
355+
break;
354356
}
355357
}
356358
}

0 commit comments

Comments
 (0)