Skip to content

Commit b63638e

Browse files
committed
delegate constructors
1 parent 54f7bd4 commit b63638e

File tree

1 file changed

+2
-2
lines changed
  • x-pack/plugin/esql-core/src/main/java/org/elasticsearch/xpack/esql/core/expression

1 file changed

+2
-2
lines changed

x-pack/plugin/esql-core/src/main/java/org/elasticsearch/xpack/esql/core/expression/AttributeMap.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -168,11 +168,11 @@ private AttributeMap(Map<AttributeWrapper, E> other) {
168168
}
169169

170170
private AttributeMap() {
171-
delegate = new LinkedHashMap<>();
171+
this(new LinkedHashMap<>());
172172
}
173173

174174
private AttributeMap(int expectedSize) {
175-
delegate = Maps.newLinkedHashMapWithExpectedSize(expectedSize);
175+
this(Maps.newLinkedHashMapWithExpectedSize(expectedSize));
176176
}
177177

178178
public AttributeMap(Attribute key, E value) {

0 commit comments

Comments
 (0)