aboutsummaryrefslogtreecommitdiffstats
path: root/container-search/src/main/java/com/yahoo/search/grouping/request/StrLenFunction.java
diff options
context:
space:
mode:
Diffstat (limited to 'container-search/src/main/java/com/yahoo/search/grouping/request/StrLenFunction.java')
-rw-r--r--container-search/src/main/java/com/yahoo/search/grouping/request/StrLenFunction.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/container-search/src/main/java/com/yahoo/search/grouping/request/StrLenFunction.java b/container-search/src/main/java/com/yahoo/search/grouping/request/StrLenFunction.java
index 28b0f021b26..21679b01170 100644
--- a/container-search/src/main/java/com/yahoo/search/grouping/request/StrLenFunction.java
+++ b/container-search/src/main/java/com/yahoo/search/grouping/request/StrLenFunction.java
@@ -1,7 +1,7 @@
// Copyright Vespa.ai. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.search.grouping.request;
-import java.util.Arrays;
+import java.util.List;
/**
* This class represents a strcat-function in a {@link GroupingExpression}. It evaluates to a long that equals the
@@ -22,7 +22,7 @@ public class StrLenFunction extends FunctionNode {
}
private StrLenFunction(String label, Integer level, GroupingExpression exp) {
- super("strlen", label, level, Arrays.asList(exp));
+ super("strlen", label, level, List.of(exp));
}
@Override