This commit is contained in:
Claudio Atzori 2021-12-06 10:03:07 +01:00
parent 3be96a92f9
commit 0194a86433
2 changed files with 1 additions and 11 deletions

View File

@ -5,7 +5,7 @@
<groupId>eu.dnetlib.dhp</groupId> <groupId>eu.dnetlib.dhp</groupId>
<artifactId>dhp-schemas</artifactId> <artifactId>dhp-schemas</artifactId>
<packaging>jar</packaging> <packaging>jar</packaging>
<version>2.9.25-SNAPSHOT</version> <version>2.9.24-SNAPSHOT</version>
<licenses> <licenses>
<license> <license>

View File

@ -158,16 +158,6 @@ public class ModelSupport {
} }
} }
private RelationInverse findInverse(String encoding) {
return ModelSupport.relationInverseMap
.entrySet()
.stream()
.filter(r -> encoding.equalsIgnoreCase(r.getKey()))
.findFirst()
.map(r -> r.getValue())
.orElseThrow(() -> new IllegalArgumentException("invalid relationship: " + encoding));
}
/** /**
* Helper method: fina a relation filtering by a relation name * Helper method: fina a relation filtering by a relation name
* @param relationName * @param relationName