Skip to content

Commit 80a65cc

Browse files
committed
spotlessApply
1 parent 7df90c0 commit 80a65cc

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

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

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,9 @@ private Map<DocumentKey, MutableDocument> getAll(
228228
" UNION ");
229229
sql.append("ORDER BY read_time_seconds, read_time_nanos, path LIMIT ?");
230230

231-
Object[] bindVars = new Object[BINDS_PER_STATEMENT * collections.size() + 1 + (filterDocumentType != null ? 1 : 0)];
231+
Object[] bindVars =
232+
new Object
233+
[BINDS_PER_STATEMENT * collections.size() + 1 + (filterDocumentType != null ? 1 : 0)];
232234
int i = 0;
233235
for (ResourcePath collection : collections) {
234236
String prefixPath = EncodedPath.encode(collection);
@@ -267,7 +269,8 @@ private Map<DocumentKey, MutableDocument> getAll(
267269
IndexOffset offset,
268270
int count,
269271
@Nullable Function<MutableDocument, Boolean> filter) {
270-
return getAll(collections, offset, count, /*filterDocumentType*/ null, filter, /*context*/ null);
272+
return getAll(
273+
collections, offset, count, /*filterDocumentType*/ null, filter, /*context*/ null);
271274
}
272275

273276
private void processRowInBackground(

0 commit comments

Comments
 (0)