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

This commit is contained in:
Miriam Baglioni 2022-09-19 11:02:18 +02:00
parent 465e941214
commit 5240ac3d7b
1 changed files with 1 additions and 2 deletions

View File

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