Skip to content

Commit

Permalink
remove NameID(long) ctr
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisHegarty committed Sep 7, 2023
1 parent 9a55717 commit 4d4d23a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ public void testUnsupportedAttributeSimple() throws IOException {
"foo",
new UnsupportedEsField("foo", "keyword"),
"field not supported",
new NameId(53)
new NameId()
);
BytesStreamOutput bso = new BytesStreamOutput();
PlanStreamOutput out = new PlanStreamOutput(bso, planNameRegistry);
Expand All @@ -193,7 +193,7 @@ public void testFieldAttributeSimple() throws IOException {
randomEsField(),
null, // qualifier, can be null
Nullability.TRUE,
new NameId(53),
new NameId(),
true // synthetic
);
BytesStreamOutput bso = new BytesStreamOutput();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,6 @@ public NameId() {
this.id = COUNTER.incrementAndGet();
}

public NameId(long id) {
this.id = id;
}

@Override
public int hashCode() {
return Objects.hash(id);
Expand Down

0 comments on commit 4d4d23a

Please sign in to comment.