Skip to content

Commit

Permalink
Remove unused method, and fix intellij warning
Browse files Browse the repository at this point in the history
  • Loading branch information
cberner committed Sep 24, 2014
1 parent d3e7fb7 commit e19bc48
Showing 1 changed file with 1 addition and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ public SubPlan createSubPlans(Plan plan, boolean createSingleNodePlan, boolean d
private class Visitor
extends PlanVisitor<Void, SubPlanBuilder>
{
private int nextFragmentId = 0;
private int nextFragmentId;

private final SymbolAllocator allocator;
private final boolean createSingleNodePlan;
Expand Down Expand Up @@ -641,11 +641,6 @@ public SubPlanBuilder createCoordinatorOnlyPlan(PlanNode root)
return new SubPlanBuilder(new PlanFragmentId(nextSubPlanId()), allocator, PlanDistribution.COORDINATOR_ONLY, root, null);
}

private SubPlanBuilder createSubPlan(PlanNode root, PlanDistribution distribution, PlanNodeId partitionedSourceId)
{
return new SubPlanBuilder(new PlanFragmentId(nextSubPlanId()), allocator, distribution, root, partitionedSourceId);
}

private String nextSubPlanId()
{
return String.valueOf(nextFragmentId++);
Expand Down

0 comments on commit e19bc48

Please sign in to comment.