Skip to content

Commit 975b4db

Browse files
committed
Spotless
1 parent d196be0 commit 975b4db

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

x-pack/plugin/esql/src/internalClusterTest/java/org/elasticsearch/xpack/esql/DenseVectorFieldTypeIT.java

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ public static Iterable<Object[]> parameters() throws Exception {
5151
for (String indexType : DENSE_VECTOR_INDEX_TYPES) {
5252
params.add(new Object[] { indexType, true });
5353
}
54-
params.add(new Object[] {null, false});
54+
params.add(new Object[] { null, false });
5555
return params;
5656
}
5757

@@ -76,10 +76,10 @@ public void testRetrieveFieldType() {
7676
@SuppressWarnings("unchecked")
7777
public void testRetrieveTopNDenseVectorFieldData() {
7878
var query = """
79-
FROM test
80-
| KEEP id, vector
81-
| SORT id ASC
82-
""";
79+
FROM test
80+
| KEEP id, vector
81+
| SORT id ASC
82+
""";
8383

8484
try (var resp = run(query)) {
8585
List<List<Object>> valuesList = EsqlTestUtils.getValuesList(resp);
@@ -99,14 +99,15 @@ public void testRetrieveTopNDenseVectorFieldData() {
9999
@SuppressWarnings("unchecked")
100100
public void testRetrieveDenseVectorFieldData() {
101101
var query = """
102-
FROM test
103-
| KEEP id, vector
104-
""";
102+
FROM test
103+
| KEEP id, vector
104+
""";
105105

106106
try (var resp = run(query)) {
107107
List<List<Object>> valuesList = EsqlTestUtils.getValuesList(resp);
108108
assertEquals(valuesList.size(), indexedVectors.size());
109-
valuesList.forEach(value -> {;
109+
valuesList.forEach(value -> {
110+
;
110111
assertEquals(2, value.size());
111112
Integer id = (Integer) value.get(0);
112113
List<Double> vector = (List<Double>) value.get(1);

x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/action/PositionToXContent.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
import org.elasticsearch.compute.data.BytesRefBlock;
1616
import org.elasticsearch.compute.data.CompositeBlock;
1717
import org.elasticsearch.compute.data.DoubleBlock;
18-
import org.elasticsearch.compute.data.FloatBlock;
1918
import org.elasticsearch.compute.data.IntBlock;
2019
import org.elasticsearch.compute.data.LongBlock;
2120
import org.elasticsearch.xcontent.ToXContent;

0 commit comments

Comments
 (0)