File tree 1 file changed +6
-6
lines changed
modules/lang-groovy/src/test/java/org/elasticsearch/messy/tests
1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -1840,14 +1840,14 @@ public void testManyToManyGeoPointsWithDifferentFormats() throws ExecutionExcept
1840
1840
for (int i = 0 ; i < 4 ; i ++) {
1841
1841
int at = randomInt (3 - i );
1842
1842
if (randomBoolean ()) {
1843
- if (geoDistanceSortBuilder == null ) {
1844
- geoDistanceSortBuilder = new GeoDistanceSortBuilder ("location" , qHashes .get (at ));
1845
- } else {
1846
- geoDistanceSortBuilder .geohashes (qHashes .get (at ));
1847
- }
1843
+ if (geoDistanceSortBuilder == null ) {
1844
+ geoDistanceSortBuilder = new GeoDistanceSortBuilder ("location" , qHashes .get (at ));
1845
+ } else {
1846
+ geoDistanceSortBuilder .geohashes (qHashes .get (at ));
1847
+ }
1848
1848
} else {
1849
1849
if (geoDistanceSortBuilder == null ) {
1850
- geoDistanceSortBuilder = new GeoDistanceSortBuilder ("location" , qPoints .get (at ));
1850
+ geoDistanceSortBuilder = new GeoDistanceSortBuilder ("location" , qPoints .get (at ));
1851
1851
} else {
1852
1852
geoDistanceSortBuilder .points (qPoints .get (at ));
1853
1853
}
You can’t perform that action at this time.
0 commit comments