Skip to content

Commit cc0428a

Browse files
committed
update CHANGELOG + format
1 parent 2573baa commit cc0428a

File tree

3 files changed

+8
-10
lines changed

3 files changed

+8
-10
lines changed

firebase-firestore/CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Unreleased
2-
* [feature] Implemented an optimization in the local cache synchronization logic that reduces the number of billed document reads when documents were deleted on the server while the client was not actively listening to the query (e.g. while the client was offline).
2+
- [feature] Implemented an optimization in the local cache synchronization logic that reduces the number of billed document reads when documents were deleted on the server while the client was not actively listening to the query (e.g. while the client was offline). (GitHub [#4702](//github.com/firebase/firebase-android-sdk/pull/4982){: .external})
33

44
# 24.6.0
55
* [fixed] Fixed stack overflow caused by deeply nested server timestamps.

firebase-firestore/src/androidTest/java/com/google/firebase/firestore/QueryTest.java

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,6 @@
5050
import java.util.Map;
5151
import java.util.concurrent.Semaphore;
5252
import java.util.concurrent.atomic.AtomicReference;
53-
5453
import org.junit.After;
5554
import org.junit.Test;
5655
import org.junit.runner.RunWith;
@@ -1092,11 +1091,11 @@ public void resumingAQueryShouldUseBloomFilterToAvoidFullRequery() throws Except
10921091
// bloom filter, and it was used to avert a full requery.
10931092
AtomicReference<QuerySnapshot> snapshot2Ref = new AtomicReference<>();
10941093
ArrayList<ExistenceFilterMismatchInfo> existenceFilterMismatches =
1095-
captureExistenceFilterMismatches(
1096-
() -> {
1097-
QuerySnapshot querySnapshot = waitFor(collection.get());
1098-
snapshot2Ref.set(querySnapshot);
1099-
});
1094+
captureExistenceFilterMismatches(
1095+
() -> {
1096+
QuerySnapshot querySnapshot = waitFor(collection.get());
1097+
snapshot2Ref.set(querySnapshot);
1098+
});
11001099
QuerySnapshot snapshot2 = snapshot2Ref.get();
11011100

11021101
// Verify that the snapshot from the resumed query contains the expected documents; that is,
@@ -1132,8 +1131,8 @@ public void resumingAQueryShouldUseBloomFilterToAvoidFullRequery() throws Except
11321131
// Verify that Watch sent an existence filter with the correct counts when the query was
11331132
// resumed.
11341133
assertWithMessage("Watch should have sent exactly 1 existence filter")
1135-
.that(existenceFilterMismatches)
1136-
.hasSize(1);
1134+
.that(existenceFilterMismatches)
1135+
.hasSize(1);
11371136
ExistenceFilterMismatchInfo existenceFilterMismatchInfo = existenceFilterMismatches.get(0);
11381137
assertWithMessage("localCacheCount")
11391138
.that(existenceFilterMismatchInfo.localCacheCount())

firebase-firestore/src/androidTest/java/com/google/firebase/firestore/remote/TestingHooksUtil.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@
1616

1717
import androidx.annotation.NonNull;
1818
import androidx.annotation.Nullable;
19-
2019
import com.google.firebase.firestore.ListenerRegistration;
2120
import java.util.ArrayList;
2221

0 commit comments

Comments
 (0)