Skip to content

Commit 4d0d5bc

Browse files
author
elasticsearchmachine
committed
[CI] Auto commit changes from spotless
1 parent f02c400 commit 4d0d5bc

File tree

1 file changed

+5
-3
lines changed
  • x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/expression/function/scalar/multivalue

1 file changed

+5
-3
lines changed

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

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,10 @@ public class MvContainsAll extends BinaryScalarFunction implements EvaluatorMapp
5454
returnType = "boolean",
5555
description = "Checks if the values yielded by multivalue value expression are all also present in the values yielded by another"
5656
+ "multivalue expression. The result is a boolean representing the outcome or null if either of the expressions where null.",
57-
examples = { @Example(file = "string", tag = "mv_contains_all"), @Example(file = "string", tag = "mv_contains_all_bothsides"),
58-
@Example(file = "string", tag = "mv_contains_all_where"),}
57+
examples = {
58+
@Example(file = "string", tag = "mv_contains_all"),
59+
@Example(file = "string", tag = "mv_contains_all_bothsides"),
60+
@Example(file = "string", tag = "mv_contains_all_where"), }
5961
)
6062
public MvContainsAll(
6163
Source source,
@@ -204,7 +206,7 @@ static void process(BooleanBlock.Builder builder, int position, BytesRefBlock fi
204206
// we pass in a reference, but sometimes we only get a return value, see ConstantBytesRefVector.getBytesRef
205207
ref = block.getBytesRef(index, ref);
206208
// pass empty ref as null
207-
if(ref.length == 0) {
209+
if (ref.length == 0) {
208210
return null;
209211
}
210212
return ref;

0 commit comments

Comments
 (0)