Skip to content

Commit

Permalink
remove constructor
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisHegarty committed Sep 7, 2023
1 parent 59f3470 commit 9a55717
Showing 1 changed file with 1 addition and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -69,21 +69,11 @@ public PlanStreamInput(
PlanNameRegistry registry,
NamedWriteableRegistry namedWriteableRegistry,
EsqlConfiguration configuration
) {
this(streamInput, registry, namedWriteableRegistry, configuration, DEFAULT_NAME_ID_FUNC.get());
}

public PlanStreamInput(
StreamInput streamInput,
PlanNameRegistry registry,
NamedWriteableRegistry namedWriteableRegistry,
EsqlConfiguration configuration,
LongFunction<NameId> nameIdFunction
) {
super(streamInput, namedWriteableRegistry);
this.registry = registry;
this.nameIdFunction = nameIdFunction;
this.configuration = configuration;
this.nameIdFunction = DEFAULT_NAME_ID_FUNC.get();
}

NameId nameIdFromLongValue(long value) {
Expand Down

0 comments on commit 9a55717

Please sign in to comment.