Skip to content

Commit 26f77eb

Browse files
author
Isabel Drost-Fromm
committed
Indentation fix for messy SimpleSortTest
1 parent 70f9d60 commit 26f77eb

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

modules/lang-groovy/src/test/java/org/elasticsearch/messy/tests/SimpleSortTests.java

+6-6
Original file line numberDiff line numberDiff line change
@@ -1840,14 +1840,14 @@ public void testManyToManyGeoPointsWithDifferentFormats() throws ExecutionExcept
18401840
for (int i = 0; i < 4; i++) {
18411841
int at = randomInt(3 - i);
18421842
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+
}
18481848
} else {
18491849
if (geoDistanceSortBuilder == null) {
1850-
geoDistanceSortBuilder = new GeoDistanceSortBuilder("location", qPoints.get(at));
1850+
geoDistanceSortBuilder = new GeoDistanceSortBuilder("location", qPoints.get(at));
18511851
} else {
18521852
geoDistanceSortBuilder.points(qPoints.get(at));
18531853
}

0 commit comments

Comments
 (0)