Skip to content

Commit

Permalink
fixed feature grouping by name
Browse files Browse the repository at this point in the history
  • Loading branch information
bischoffdev committed Jun 21, 2018
1 parent 8dfbcd2 commit 66a88e2
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -49,11 +49,11 @@ public void postDeserialize(final Report report, final JsonElement jsonElement,
private void addFeatureIndex(final Report report) {
if (report == null) return;

String featureUri = report.getUri();
if (!featureUris.contains(featureUri)){
featureUris.add(featureUri);
String featureName = report.getName();
if (!featureUris.contains(featureName)){
featureUris.add(featureName);
}
report.setFeatureIndex(featureUris.indexOf(featureUri));
report.setFeatureIndex(featureUris.indexOf(featureName));
}

private void mergeBackgroundScenarios(final Report report) {
Expand Down

0 comments on commit 66a88e2

Please sign in to comment.