Skip to content

Commit

Permalink
Remove invalid and dead branch
Browse files Browse the repository at this point in the history
  • Loading branch information
leonard84 committed Oct 4, 2017
1 parent 61b809f commit d20d8e7
Showing 1 changed file with 4 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -402,13 +402,10 @@ public void doRunSetup(SpecInfo spec) {

private void runFeatureMethod() {
if (runStatus != OK) return;
if ((currentIteration == null)) {
invoke(currentInstance, currentFeature.getFeatureMethod(), currentIteration.getDataValues());
} else {
MethodInfo featureIteration = new MethodInfo(currentFeature.getFeatureMethod());
featureIteration.setIteration(currentIteration);
invoke(currentInstance, featureIteration, currentIteration.getDataValues());
}

MethodInfo featureIteration = new MethodInfo(currentFeature.getFeatureMethod());
featureIteration.setIteration(currentIteration);
invoke(currentInstance, featureIteration, currentIteration.getDataValues());
}

private void runCleanup() {
Expand Down

0 comments on commit d20d8e7

Please sign in to comment.