Skip to content

Commit 099b965

Browse files
author
elasticsearchmachine
committed
[CI] Auto commit changes from spotless
1 parent a81cefd commit 099b965

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/optimizer/rules/logical/local/ReplaceMissingFieldWithNull.java

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@
3030
import org.elasticsearch.xpack.esql.rule.ParameterizedRule;
3131

3232
import java.util.ArrayList;
33-
import java.util.Collection;
3433
import java.util.List;
3534
import java.util.Map;
3635
import java.util.function.Predicate;
@@ -101,8 +100,8 @@ private LogicalPlan missingToNull(LogicalPlan plan, Predicate<FieldAttribute> sh
101100

102101
public static Tuple<List<Alias>, List<NamedExpression>> aliasedNulls(
103102
List<Attribute> outputAttributes,
104-
Predicate<Attribute> shouldBeReplaced)
105-
{
103+
Predicate<Attribute> shouldBeReplaced
104+
) {
106105
Map<DataType, Alias> nullLiterals = Maps.newLinkedHashMapWithExpectedSize(DataType.types().size());
107106
List<NamedExpression> newProjections = new ArrayList<>(outputAttributes.size());
108107
for (Attribute attr : outputAttributes) {

0 commit comments

Comments
 (0)