master #59

Closed
claudio.atzori wants to merge 3221 commits from master into stable_ids
1 changed files with 1 additions and 1 deletions
Showing only changes of commit d8435a6512 - Show all commits

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) {