[EOSC TAG] added fix for NPE on subjects

removeDump
Miriam Baglioni 2 years ago
parent 37cfda0fc5
commit 3329b6ce6b

@ -183,6 +183,8 @@ public class SparkEoscTag {
}
private static boolean containsCriteriaNotebook(Software s) {
if(!Optional.ofNullable(s.getSubject()).isPresent())
return false;
if (s.getSubject().stream().anyMatch(sbj -> sbj.getValue().toLowerCase().contains("jupyter")))
return true;
if (s

Loading…
Cancel
Save