diff --git a/processing/src/main/java/org/apache/druid/math/expr/BuiltInExprMacros.java b/processing/src/main/java/org/apache/druid/math/expr/BuiltInExprMacros.java index 117495f0c139..c1298cd79297 100644 --- a/processing/src/main/java/org/apache/druid/math/expr/BuiltInExprMacros.java +++ b/processing/src/main/java/org/apache/druid/math/expr/BuiltInExprMacros.java @@ -19,11 +19,11 @@ package org.apache.druid.math.expr; -import com.google.common.collect.Lists; import org.apache.druid.java.util.common.StringUtils; import org.apache.druid.segment.column.TypeStrategy; import javax.annotation.Nullable; +import java.util.Collections; import java.util.List; import java.util.stream.Collectors; @@ -184,7 +184,7 @@ public ExprEval eval(ObjectBinding bindings) @Override public Expr visit(Shuttle shuttle) { - return shuttle.visit(apply(shuttle.visitAll(Lists.newArrayList(arg)))); + return shuttle.visit(apply(shuttle.visitAll(Collections.singletonList(arg)))); } @Nullable