Skip to content

Commit

Permalink
Review Feedback Vol. 1
Browse files Browse the repository at this point in the history
  • Loading branch information
Vampire committed Jan 20, 2025
1 parent 8512640 commit d32c867
Showing 1 changed file with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,9 @@ public IDataIterator createFeatureDataIterator(SpockExecutionContext context) {
if (context.getCurrentFeature().getDataProcessorMethod() == null) {
return new SingleEmptyIterationDataIterator();
}
IDataIterator result = new FeatureDataProviderIterator(supervisor, context);
result = new DataProcessorIterator(supervisor, context, result);
result = new IterationFilterIterator(supervisor, context, result);
return result;
return new IterationFilterIterator(supervisor, context,
new DataProcessorIterator(supervisor, context,
new FeatureDataProviderIterator(supervisor, context)));
}

private abstract static class BaseDataIterator implements IDataIterator {
Expand Down

0 comments on commit d32c867

Please sign in to comment.