Skip to content

Commit 0e1c35e

Browse files
committed
Spotless
1 parent 979ae58 commit 0e1c35e

File tree

5 files changed

+2
-15
lines changed

5 files changed

+2
-15
lines changed

x-pack/plugin/esql/src/test/java/org/elasticsearch/xpack/esql/expression/function/AbstractAggregationTestCase.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,6 @@
77

88
package org.elasticsearch.xpack.esql.expression.function;
99

10-
import joptsimple.internal.Strings;
11-
1210
import org.elasticsearch.compute.aggregation.Aggregator;
1311
import org.elasticsearch.compute.aggregation.AggregatorFunctionSupplier;
1412
import org.elasticsearch.compute.aggregation.AggregatorMode;

x-pack/plugin/esql/src/test/java/org/elasticsearch/xpack/esql/expression/function/aggregate/CountTests.java

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -100,12 +100,7 @@ private static TestCaseSupplier makeSupplier(TestCaseSupplier.TypedDataSupplier
100100
var fieldTypedData = fieldSupplier.get();
101101
var rowCount = fieldTypedData.multiRowData().stream().filter(Objects::nonNull).count();
102102

103-
return new TestCaseSupplier.TestCase(
104-
List.of(fieldTypedData),
105-
"Count",
106-
DataType.LONG,
107-
equalTo(rowCount)
108-
);
103+
return new TestCaseSupplier.TestCase(List.of(fieldTypedData), "Count", DataType.LONG, equalTo(rowCount));
109104
});
110105
}
111106
}

x-pack/plugin/esql/src/test/java/org/elasticsearch/xpack/esql/expression/function/aggregate/SpatialExtentSerializationTests.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,6 @@
77

88
package org.elasticsearch.xpack.esql.expression.function.aggregate;
99

10-
import org.elasticsearch.xpack.esql.core.expression.Expression;
11-
import org.elasticsearch.xpack.esql.core.tree.Source;
1210
import org.elasticsearch.xpack.esql.expression.AbstractExpressionSerializationTests;
1311

1412
import java.io.IOException;

x-pack/plugin/esql/src/test/java/org/elasticsearch/xpack/esql/expression/function/aggregate/StdDevSerializationTests.java

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,6 @@ protected StdDev createTestInstance() {
1919

2020
@Override
2121
protected StdDev mutateInstance(StdDev instance) throws IOException {
22-
return new StdDev(
23-
instance.source(),
24-
randomValueOtherThan(instance.field(), AbstractExpressionSerializationTests::randomChild)
25-
);
22+
return new StdDev(instance.source(), randomValueOtherThan(instance.field(), AbstractExpressionSerializationTests::randomChild));
2623
}
2724
}

x-pack/plugin/esql/src/test/java/org/elasticsearch/xpack/esql/expression/function/aggregate/WeightedAvgSerializationTests.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99

1010
import org.elasticsearch.xpack.esql.core.expression.Expression;
1111
import org.elasticsearch.xpack.esql.expression.AbstractExpressionSerializationTests;
12-
import org.elasticsearch.xpack.esql.expression.function.Example;
1312

1413
import java.io.IOException;
1514

0 commit comments

Comments
 (0)