Skip to content

Commit 1580215

Browse files
committed
format code with ./gradlew :firebase-firestore:googleJavaFormat
1 parent d995ce0 commit 1580215

File tree

2 files changed

+13
-13
lines changed

2 files changed

+13
-13
lines changed

firebase-firestore/src/main/java/com/google/firebase/firestore/AggregateQuery.java

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,7 @@ public class AggregateQuery {
3535
this.query = query;
3636
}
3737

38-
/**
39-
* Returns the query whose aggregations will be calculated by this object.
40-
*/
38+
/** Returns the query whose aggregations will be calculated by this object. */
4139
@NonNull
4240
public Query getQuery() {
4341
return query;
@@ -78,14 +76,14 @@ public Task<AggregateQuerySnapshot> get(@NonNull AggregateSource source) {
7876
* conditions are satisfied:
7977
*
8078
* <ol>
81-
* <li>{@code object} is a non-null instance of {@link AggregateQuery}.</li>
82-
* <li>{@code object} performs the same aggregations as this {@link AggregateQuery}.</li>
83-
* <li>{@code object} has the same underlying {@link Query} as this {@link AggregateQuery}.</li>
79+
* <li>{@code object} is a non-null instance of {@link AggregateQuery}.
80+
* <li>{@code object} performs the same aggregations as this {@link AggregateQuery}.
81+
* <li>{@code object} has the same underlying {@link Query} as this {@link AggregateQuery}.
8482
* </ol>
8583
*
8684
* @param object The object to compare to this object for equality.
87-
* @return {@code true} if this object is "equal" to the given object, as defined above, or
88-
* {@code false} otherwise.
85+
* @return {@code true} if this object is "equal" to the given object, as defined above, or {@code
86+
* false} otherwise.
8987
*/
9088
@Override
9189
public boolean equals(Object object) {
@@ -97,6 +95,7 @@ public boolean equals(Object object) {
9795

9896
/**
9997
* Calculates and returns the hash code for this object.
98+
*
10099
* @return the hash code for this object.
101100
*/
102101
@Override

firebase-firestore/src/main/java/com/google/firebase/firestore/AggregateQuerySnapshot.java

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -55,14 +55,14 @@ public long getCount() {
5555
* conditions are satisfied:
5656
*
5757
* <ol>
58-
* <li>{@code object} is a non-null instance of {@link AggregateQuerySnapshot}.</li>
59-
* <li>{@code object} has the same {@link AggregateQuery} as this object.</li>
60-
* <li>{@code object} has the same results as this object.</li>
58+
* <li>{@code object} is a non-null instance of {@link AggregateQuerySnapshot}.
59+
* <li>{@code object} has the same {@link AggregateQuery} as this object.
60+
* <li>{@code object} has the same results as this object.
6161
* </ol>
6262
*
6363
* @param object The object to compare to this object for equality.
64-
* @return {@code true} if this object is "equal" to the given object, as defined above, or
65-
* {@code false} otherwise.
64+
* @return {@code true} if this object is "equal" to the given object, as defined above, or {@code
65+
* false} otherwise.
6666
*/
6767
@Override
6868
public boolean equals(Object object) {
@@ -74,6 +74,7 @@ public boolean equals(Object object) {
7474

7575
/**
7676
* Calculates and returns the hash code for this object.
77+
*
7778
* @return the hash code for this object.
7879
*/
7980
@Override

0 commit comments

Comments
 (0)