diff --git a/src/main/java/eu/dnetlib/repo/manager/service/RepositoryServiceImpl.java b/src/main/java/eu/dnetlib/repo/manager/service/RepositoryServiceImpl.java index ff1f7fd..8ea7a45 100644 --- a/src/main/java/eu/dnetlib/repo/manager/service/RepositoryServiceImpl.java +++ b/src/main/java/eu/dnetlib/repo/manager/service/RepositoryServiceImpl.java @@ -728,7 +728,7 @@ public class RepositoryServiceImpl implements RepositoryService { // TODO: double check me logger.warn("Compatibility level: {}", iFace.getCompatibility()); - if (iFace.getCompatibility() != null && iFace.getCompatibility().equals("")) { + if (iFace.getCompatibility() == null || iFace.getCompatibility().equals("")) { iFace.setCompatibility("UNKNOWN"); }