Skip to content

Commit dc4d4cd

Browse files
Fix Kotlin
1 parent 5146529 commit dc4d4cd

File tree

1 file changed

+2
-2
lines changed
  • firebase-firestore/ktx/src/test/java/com/google/firebase/firestore/testutil

1 file changed

+2
-2
lines changed

firebase-firestore/ktx/src/test/java/com/google/firebase/firestore/testutil/TestUtil.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -480,7 +480,7 @@ public static MutationResult mutationResult(long version) {
480480
}
481481

482482
public static LocalViewChanges viewChanges(
483-
int targetId, List<String> addedKeys, List<String> removedKeys) {
483+
int targetId, boolean synced, List<String> addedKeys, List<String> removedKeys) {
484484
ImmutableSortedSet<DocumentKey> added = DocumentKey.emptyKeySet();
485485
for (String keyPath : addedKeys) {
486486
added = added.insert(key(keyPath));
@@ -489,7 +489,7 @@ public static LocalViewChanges viewChanges(
489489
for (String keyPath : removedKeys) {
490490
removed = removed.insert(key(keyPath));
491491
}
492-
return new LocalViewChanges(targetId, added, removed);
492+
return new LocalViewChanges(targetId, synced, added, removed);
493493
}
494494

495495
/** Creates a resume token to match the given snapshot version. */

0 commit comments

Comments
 (0)