#72 - Improved mapping discovery in AnnotationMappingDiscoverer.
AnnotationMappingDiscoverer now returns a polished mapping in case the type mapping consists of a plain slash only.
This commit is contained in:
@@ -93,7 +93,7 @@ public class AnnotationMappingDiscoverer implements MappingDiscoverer {
|
||||
return typeMapping;
|
||||
}
|
||||
|
||||
return typeMapping == null ? mapping[0] : typeMapping + mapping[0];
|
||||
return typeMapping == null || "/".equals(typeMapping) ? mapping[0] : typeMapping + mapping[0];
|
||||
}
|
||||
|
||||
private String[] getMappingFrom(Annotation annotation) {
|
||||
|
||||
Reference in New Issue
Block a user