diff --git a/dhp-workflows/dhp-enrichment/src/main/java/eu/dnetlib/dhp/bulktag/community/ResultTagger.java b/dhp-workflows/dhp-enrichment/src/main/java/eu/dnetlib/dhp/bulktag/community/ResultTagger.java index 71a2b35252..478c33a120 100644 --- a/dhp-workflows/dhp-enrichment/src/main/java/eu/dnetlib/dhp/bulktag/community/ResultTagger.java +++ b/dhp-workflows/dhp-enrichment/src/main/java/eu/dnetlib/dhp/bulktag/community/ResultTagger.java @@ -95,13 +95,7 @@ public class ResultTagger implements Serializable { } -// result -// .getInstance() -// .stream() -// .map(i -> new Pair<>(i.getCollectedfrom().getKey(), i.getHostedby().getKey())) -// .flatMap(p -> Stream.of(p.getFst(), p.getSnd())) -// .map(s -> StringUtils.substringAfter(s, "|")) -// .collect(Collectors.toCollection(HashSet::new)) + tmp .forEach( dsId -> datasources