Skip to content

Commit

Permalink
Exclude versionb from grouping (#441)
Browse files Browse the repository at this point in the history
  • Loading branch information
khorshuheng authored Feb 10, 2020
1 parent 951a5b5 commit 98b6be4
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@
import java.util.concurrent.ExecutionException;
import java.util.stream.Collectors;
import org.apache.commons.lang3.tuple.Pair;
import org.apache.commons.lang3.tuple.Triple;
import org.slf4j.Logger;

/** In-memory cache of specs. */
Expand Down Expand Up @@ -199,8 +198,8 @@ private Map<String, String> getFeatureToFeatureSetMapping(
.collect(
groupingBy(
featureSet ->
Triple.of(
featureSet.getProject(), featureSet.getName(), featureSet.getVersion())))
Pair.of(
featureSet.getProject(), featureSet.getName())))
.forEach(
(group, groupedFeatureSets) -> {
groupedFeatureSets =
Expand Down

0 comments on commit 98b6be4

Please sign in to comment.