Skip to content

Commit

Permalink
Fixed spotless
Browse files Browse the repository at this point in the history
Signed-off-by: Martin Gaievski <[email protected]>
  • Loading branch information
martin-gaievski committed Sep 28, 2022
1 parent c385555 commit 195f025
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ public class KNNQueryBuilderTests extends KNNTestCase {
private static final String FIELD_NAME = "myvector";
private static final int K = 1;
private static final TermQueryBuilder TERM_QUERY = QueryBuilders.termQuery("field", "value");
private static final float[] QUERY_VECTOR = new float[]{ 1.0f, 2.0f, 3.0f, 4.0f };
private static final float[] QUERY_VECTOR = new float[] { 1.0f, 2.0f, 3.0f, 4.0f };

public void testInvalidK() {
float[] queryVector = { 1.0f, 1.0f };
Expand Down Expand Up @@ -250,7 +250,7 @@ public void testSerialization() throws Exception {
}
}

//test serialization from < 2.4 versions
// test serialization from < 2.4 versions
try (BytesStreamOutput output = new BytesStreamOutput()) {
output.setVersion(Version.V_2_3_0);
output.writeNamedWriteable(knnQueryBuilderWithFilter);
Expand Down

0 comments on commit 195f025

Please sign in to comment.