File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
firestore/app/src/main/java/com/google/example/firestore Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -55,7 +55,7 @@ public static void queryHashes() {
5555 final double radiusInKm = 50 ;
5656
5757 // Each item in 'bounds' represents a startAt/endAt pair. We have to issue
58- // a separate query for each pair. There can be up to 9 pais of bounds
58+ // a separate query for each pair. There can be up to 9 pairs of bounds
5959 // depending on overlap, but in most cases there are 4.
6060 List <GeoQueryBounds > bounds = GeoFireUtils .getGeoHashQueryBounds (center , radiusInKm );
6161 final List <Task <QuerySnapshot >> tasks = new ArrayList <>();
Original file line number Diff line number Diff line change @@ -41,7 +41,7 @@ class SolutionGeoqueries {
4141 val radiusInKm = 50.0
4242
4343 // Each item in 'bounds' represents a startAt/endAt pair. We have to issue
44- // a separate query for each pair. There can be up to 9 pais of bounds
44+ // a separate query for each pair. There can be up to 9 pairs of bounds
4545 // depending on overlap, but in most cases there are 4.
4646 val bounds = GeoFireUtils .getGeoHashQueryBounds(center, radiusInKm)
4747 val tasks: MutableList <Task <QuerySnapshot >> = ArrayList ()
@@ -78,4 +78,4 @@ class SolutionGeoqueries {
7878 }
7979 // [END fs_geo_query_hashes]
8080 }
81- }
81+ }
You can’t perform that action at this time.
0 commit comments