Skip to content

Commit 3af7ad2

Browse files
authored
Fix indents
1 parent 3997d38 commit 3af7ad2

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

firestore/app/src/main/java/com/google/example/firestore/DocSnippets.java

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1367,17 +1367,17 @@ public void countAggregateQuery() {
13671367
Query query = db.collection("games/chess/players").whereEqualTo("online", true);
13681368
AggregateQuery countQuery = query.count();
13691369
countQuery.get(AggregateSource.SERVER).addOnCompleteListener(new OnCompleteListener<AggregateQuerySnapshot>() {
1370-
@Override
1371-
public void onComplete(@NonNull Task<AggregateQuerySnapshot> task) {
1372-
if (task.isSuccessful()) {
1373-
// Count fetched successfully
1374-
AggregateQuerySnapshot snapshot = task.getResult();
1375-
Log.d(TAG, "Count: " + snapshot.getCount());
1376-
} else {
1377-
Log.d(TAG, "Count failed: ", task.getException());
1378-
}
1379-
}
1380-
});;
1370+
@Override
1371+
public void onComplete(@NonNull Task<AggregateQuerySnapshot> task) {
1372+
if (task.isSuccessful()) {
1373+
// Count fetched successfully
1374+
AggregateQuerySnapshot snapshot = task.getResult();
1375+
Log.d(TAG, "Count: " + snapshot.getCount());
1376+
} else {
1377+
Log.d(TAG, "Count failed: ", task.getException());
1378+
}
1379+
}
1380+
});
13811381
// [END count_aggregate_query]
13821382
}
13831383
}

0 commit comments

Comments
 (0)