Skip to content

Commit a1ab574

Browse files
committed
Long to long
1 parent eb416db commit a1ab574

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

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

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@
1717
import static com.google.firebase.firestore.util.Preconditions.checkNotNull;
1818

1919
import androidx.annotation.NonNull;
20-
import androidx.annotation.Nullable;
2120
import java.util.Objects;
2221

2322
/**
@@ -44,12 +43,8 @@ public AggregateQuery getQuery() {
4443
return query;
4544
}
4645

47-
/**
48-
* @return The result of a document count aggregation. Returns null if no count aggregation is
49-
* available in the result.
50-
*/
51-
@Nullable
52-
public Long getCount() {
46+
/** @return The result of a document count aggregation. */
47+
public long getCount() {
5348
return count;
5449
}
5550

0 commit comments

Comments
 (0)