File tree 2 files changed +3
-3
lines changed
firestore/app/src/main/java/com/google/example/firestore 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() {
55
55
final double radiusInKm = 50 ;
56
56
57
57
// 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
59
59
// depending on overlap, but in most cases there are 4.
60
60
List <GeoQueryBounds > bounds = GeoFireUtils .getGeoHashQueryBounds (center , radiusInKm );
61
61
final List <Task <QuerySnapshot >> tasks = new ArrayList <>();
Original file line number Diff line number Diff line change @@ -41,7 +41,7 @@ class SolutionGeoqueries {
41
41
val radiusInKm = 50.0
42
42
43
43
// 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
45
45
// depending on overlap, but in most cases there are 4.
46
46
val bounds = GeoFireUtils .getGeoHashQueryBounds(center, radiusInKm)
47
47
val tasks: MutableList <Task <QuerySnapshot >> = ArrayList ()
@@ -78,4 +78,4 @@ class SolutionGeoqueries {
78
78
}
79
79
// [END fs_geo_query_hashes]
80
80
}
81
- }
81
+ }
You can’t perform that action at this time.
0 commit comments