Skip to content

Commit 979aac9

Browse files
author
elasticsearchmachine
committed
[CI] Auto commit changes from spotless
1 parent cd7625e commit 979aac9

File tree

2 files changed

+4
-7
lines changed

2 files changed

+4
-7
lines changed

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

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -245,13 +245,11 @@ public enum Cap {
245245
*/
246246
FN_MONTH_NAME,
247247

248-
249248
/**
250249
* support for MV_CONTAINS_ALL function
251250
*/
252251
FN_MV_CONTAINS_ALL,
253252

254-
255253
/**
256254
* Fixes for multiple functions not serializing their source, and emitting warnings with wrong line number and text.
257255
*/

x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/expression/function/scalar/multivalue/MvContainsAll.java

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -62,8 +62,8 @@ public class MvContainsAll extends BinaryScalarFunction implements EvaluatorMapp
6262
examples = {
6363
@Example(file = "string", tag = "mv_contains_all"),
6464
@Example(file = "string", tag = "mv_contains_all_bothsides"),
65-
@Example(file = "string", tag = "mv_contains_all_where"),},
66-
appliesTo = {@FunctionAppliesTo(lifeCycle = FunctionAppliesToLifecycle.PREVIEW, version = "9.2.0")}
65+
@Example(file = "string", tag = "mv_contains_all_where"), },
66+
appliesTo = { @FunctionAppliesTo(lifeCycle = FunctionAppliesToLifecycle.PREVIEW, version = "9.2.0") }
6767
)
6868
public MvContainsAll(
6969
Source source,
@@ -84,7 +84,7 @@ public MvContainsAll(
8484
"long",
8585
"text",
8686
"unsigned_long",
87-
"version"},
87+
"version" },
8888
description = "Multivalue expression."
8989
) Expression superset,
9090
@Param(
@@ -104,7 +104,7 @@ public MvContainsAll(
104104
"long",
105105
"text",
106106
"unsigned_long",
107-
"version"},
107+
"version" },
108108
description = "Multivalue expression."
109109
) Expression subset
110110
) {
@@ -185,7 +185,6 @@ public ExpressionEvaluator.Factory toEvaluator(ToEvaluator toEvaluator) {
185185
};
186186
}
187187

188-
189188
@Evaluator(extraName = "Int")
190189
static void process(BooleanBlock.Builder builder, int position, IntBlock field1, IntBlock field2) {
191190
appendTo(builder, containsAll(field1, field2, position, IntBlock::getInt));

0 commit comments

Comments
 (0)