[EOSC Tag] remove addition of eosc context for result with eosc if guidelines set

pull/250/head
Miriam Baglioni 2 years ago
parent 465e941214
commit 5240ac3d7b

@ -121,8 +121,7 @@ public class SparkEoscBulkTag implements Serializable {
.getInstance()
.stream()
.anyMatch(
i -> (hostedByList.contains(i.getHostedby().getKey())) ||
(value.getEoscifguidelines() != null && value.getEoscifguidelines().size() > 0))
i -> (hostedByList.contains(i.getHostedby().getKey())) )
&&
!value.getContext().stream().anyMatch(c -> c.getId().equals("eosc"))) {
Context context = new Context();

Loading…
Cancel
Save