Skip to content

Commit

Permalink
fix static check
Browse files Browse the repository at this point in the history
  • Loading branch information
pranavbhole committed Sep 20, 2023
1 parent dffab78 commit 304d973
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 304d973

Please sign in to comment.