Skip to content

Commit 37b5f8a

Browse files
committed
format
1 parent bde0ada commit 37b5f8a

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

firebase-firestore/src/main/java/com/google/firebase/firestore/local/SQLiteMutationQueue.java

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -223,9 +223,10 @@ public MutationBatch getNextMutationBatchAfterBatchId(int batchId) {
223223
int nextBatchId = batchId + 1;
224224

225225
SQLiteStatement query =
226-
db.prepare("SELECT mutations FROM mutations "
227-
+ "WHERE uid = ? AND batch_id >= ? "
228-
+ "ORDER BY batch_id ASC LIMIT 1");
226+
db.prepare(
227+
"SELECT mutations FROM mutations "
228+
+ "WHERE uid = ? AND batch_id >= ? "
229+
+ "ORDER BY batch_id ASC LIMIT 1");
229230
query.bindString(1, uid);
230231
query.bindLong(2, nextBatchId);
231232

@@ -242,7 +243,7 @@ private MutationBatch executeSimpleMutationBatchLookup(SQLiteStatement query) {
242243
}
243244

244245
try (ParcelFileDescriptor.AutoCloseInputStream stream =
245-
new ParcelFileDescriptor.AutoCloseInputStream(blobFile)) {
246+
new ParcelFileDescriptor.AutoCloseInputStream(blobFile)) {
246247
return serializer.decodeMutationBatch(
247248
com.google.firebase.firestore.proto.WriteBatch.parseFrom(stream));
248249
} catch (InvalidProtocolBufferException e) {
@@ -440,7 +441,7 @@ public void performConsistencyCheck() {
440441
* too large, executes another query to load the blob directly.
441442
*
442443
* @param batchId The batch ID of the row containing the bytes, for fallback lookup if the value
443-
* is too large.
444+
* is too large.
444445
* @param bytes The bytes represented
445446
*/
446447
private MutationBatch decodeInlineMutationBatch(int batchId, byte[] bytes) {

0 commit comments

Comments
 (0)