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++) {
|
for (int i = 0; i < 4; i++) {
|
||||||
int at = randomInt(3 - i);
|
int at = randomInt(3 - i);
|
||||||
if (randomBoolean()) {
|
if (randomBoolean()) {
|
||||||
if (geoDistanceSortBuilder == null) {
|
if (geoDistanceSortBuilder == null) {
|
||||||
geoDistanceSortBuilder = new GeoDistanceSortBuilder("location", qHashes.get(at));
|
geoDistanceSortBuilder = new GeoDistanceSortBuilder("location", qHashes.get(at));
|
||||||
} else {
|
} else {
|
||||||
geoDistanceSortBuilder.geohashes(qHashes.get(at));
|
geoDistanceSortBuilder.geohashes(qHashes.get(at));
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
if (geoDistanceSortBuilder == null) {
|
if (geoDistanceSortBuilder == null) {
|
||||||
geoDistanceSortBuilder = new GeoDistanceSortBuilder("location", qPoints.get(at));
|
geoDistanceSortBuilder = new GeoDistanceSortBuilder("location", qPoints.get(at));
|
||||||
} else {
|
} else {
|
||||||
geoDistanceSortBuilder.points(qPoints.get(at));
|
geoDistanceSortBuilder.points(qPoints.get(at));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue