public void add(ExecutionStage executionStage) { if (this.allStages.add(executionStage)) { if (this.headStageCache == null && this.checkForLoopHead(executionStage)) { this.headStageCache = executionStage; } } }
public void add(ExecutionStage executionStage) { if (this.allStages.add(executionStage)) { if (this.headStageCache == null && this.checkForLoopHead(executionStage)) { this.headStageCache = executionStage; } } }