Revert "Indentation fix for messy SimpleSortTest"

This reverts commit 26f77eb70d.
This commit is contained in:
Yannick Welsch 2016-02-02 14:03:40 +01:00
parent c5a6ddfdc2
commit 7ea2e99f91
1 changed files with 6 additions and 6 deletions

View File

@ -1840,14 +1840,14 @@ public class SimpleSortTests extends ESIntegTestCase {
for (int i = 0; i < 4; i++) {
int at = randomInt(3 - i);
if (randomBoolean()) {
if (geoDistanceSortBuilder == null) {
geoDistanceSortBuilder = new GeoDistanceSortBuilder("location", qHashes.get(at));
} else {
geoDistanceSortBuilder.geohashes(qHashes.get(at));
}
if (geoDistanceSortBuilder == null) {
geoDistanceSortBuilder = new GeoDistanceSortBuilder("location", qHashes.get(at));
} else {
geoDistanceSortBuilder.geohashes(qHashes.get(at));
}
} else {
if (geoDistanceSortBuilder == null) {
geoDistanceSortBuilder = new GeoDistanceSortBuilder("location", qPoints.get(at));
geoDistanceSortBuilder = new GeoDistanceSortBuilder("location", qPoints.get(at));
} else {
geoDistanceSortBuilder.points(qPoints.get(at));
}