File tree Expand file tree Collapse file tree 1 file changed +3
-5
lines changed
firebase-firestore/src/main/java/com/google/firebase/firestore/core Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -221,11 +221,9 @@ private Precondition preconditionForUpdate(DocumentKey key) throws FirebaseFires
221
221
//
222
222
// This has to be validated locally because you can't send a precondition that a document
223
223
// does not exist without changing the semantics of the backend write to be an insert. This
224
- // is
225
- // the reverse of what we want, since we want to assert that the document doesn't exist but
226
- // then send the update and have it fail. Since we can't express that to the backend, we
227
- // have
228
- // to validate locally.
224
+ // is the reverse of what we want, since we want to assert that the document doesn't exist
225
+ // but then send the update and have it fail. Since we can't express that to the backend, we
226
+ // have to validate locally.
229
227
//
230
228
// Note: this can change once we can send separate verify writes in the transaction.
231
229
throw new FirebaseFirestoreException (
You can’t perform that action at this time.
0 commit comments