pull/8/head
Claudio Atzori 2 years ago
parent 3be96a92f9
commit 0194a86433

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

@ -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
* @param relationName

Loading…
Cancel
Save