Added helper method to lookup for inverse relations regardless of the upper/lower case in the relation encoding

This commit is contained in:
Claudio Atzori 2021-12-06 10:31:30 +01:00
parent 5845f4fea0
commit 38c82b032e
1 changed files with 1 additions and 1 deletions

View File

@ -163,7 +163,7 @@ public class ModelSupport {
* @param encoding * @param encoding
* @return the relation inverse descriptor, throws @IllegalArgumentException when not found. * @return the relation inverse descriptor, throws @IllegalArgumentException when not found.
*/ */
public RelationInverse findInverse(String encoding) { public static RelationInverse findInverse(String encoding) {
return ModelSupport.relationInverseMap return ModelSupport.relationInverseMap
.entrySet() .entrySet()
.stream() .stream()