Revert "Indentation fix for messy SimpleSortTest"
This reverts commit 26f77eb70d
.
This commit is contained in:
parent
c5a6ddfdc2
commit
7ea2e99f91
|
@ -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));
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue