File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
firebase-firestore/src/test/java/com/google/firebase/firestore/local Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -159,7 +159,8 @@ private void acknowledgeMutationWithTransformResults(
159
159
SnapshotVersion version = version (documentVersion );
160
160
List <MutationResult > mutationResults =
161
161
Collections .singletonList (new MutationResult (version , emptyList ()));
162
- if (transformResult != null ) {
162
+
163
+ if (transformResult .length != 0 ) {
163
164
mutationResults = new ArrayList <>();
164
165
for (Object o : transformResult ) {
165
166
mutationResults .add (
@@ -172,7 +173,7 @@ private void acknowledgeMutationWithTransformResults(
172
173
}
173
174
174
175
private void acknowledgeMutation (long documentVersion ) {
175
- acknowledgeMutationWithTransformResults (documentVersion , null );
176
+ acknowledgeMutationWithTransformResults (documentVersion );
176
177
}
177
178
178
179
private void rejectMutation () {
You can’t perform that action at this time.
0 commit comments