inverted condition

This commit is contained in:
Claudio Atzori 2023-07-25 17:39:57 +02:00
parent 270df939c4
commit d8435a6512
1 changed files with 1 additions and 1 deletions

View File

@ -245,7 +245,7 @@ public class GraphCleaningFunctions extends CleaningFunctions {
// nothing to evaluate here
} else if (value instanceof Project) {
final Project p = (Project) value;
return Objects.isNull(p.getCode()) || StringUtils.isBlank(p.getCode().getValue());
return Objects.nonNull(p.getCode()) && StringUtils.isNotBlank(p.getCode().getValue());
} else if (value instanceof Organization) {
// nothing to evaluate here
} else if (value instanceof Relation) {