Skip to content

Commit f756e85

Browse files
committed
Spotless
1 parent 66f8496 commit f756e85

File tree

2 files changed

+2
-8
lines changed
  • x-pack/plugin/esql/src

2 files changed

+2
-8
lines changed

x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/expression/function/fulltext/FullTextFunction.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -152,8 +152,7 @@ public boolean equals(Object obj) {
152152
return false;
153153
}
154154

155-
return Objects.equals(queryBuilder, ((FullTextFunction) obj).queryBuilder)
156-
&& Objects.equals(query, ((FullTextFunction) obj).query);
155+
return Objects.equals(queryBuilder, ((FullTextFunction) obj).queryBuilder) && Objects.equals(query, ((FullTextFunction) obj).query);
157156
}
158157

159158
@Override

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

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -84,12 +84,7 @@ private static List<TestCaseSupplier> addFunctionNamedParams(List<TestCaseSuppli
8484
List<TestCaseSupplier.TypedData> values = new ArrayList<>(supplier.get().getData());
8585
values.add(
8686
new TestCaseSupplier.TypedData(
87-
new MapExpression(
88-
Source.EMPTY,
89-
List.of(
90-
new Literal(Source.EMPTY, randomAlphaOfLength(10), KEYWORD)
91-
)
92-
),
87+
new MapExpression(Source.EMPTY, List.of(new Literal(Source.EMPTY, randomAlphaOfLength(10), KEYWORD))),
9388
UNSUPPORTED,
9489
"options"
9590
).forceLiteral()

0 commit comments

Comments
 (0)