if (this.locked) throw Traversal.Exceptions.traversalIsLocked(); TraversalHelper.reIdSteps(this.stepPosition, this); this.strategies.applyStrategies(this); boolean hasGraph = null != this.graph; for (int i = 0, j = this.steps.size(); i < j; i++) { // "foreach" can lead to ConcurrentModificationExceptions
if (this.locked) throw Traversal.Exceptions.traversalIsLocked(); TraversalHelper.reIdSteps(this.stepPosition, this); this.strategies.applyStrategies(this); boolean hasGraph = null != this.graph; for (int i = 0, j = this.steps.size(); i < j; i++) { // "foreach" can lead to ConcurrentModificationExceptions