Skip to content

Commit

Permalink
fix wrong collection lookup
Browse files Browse the repository at this point in the history
Signed-off-by: Lukas Jungmann <[email protected]>
  • Loading branch information
lukasj committed Sep 22, 2021
1 parent 76a6bb9 commit 0d12bf7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -2160,7 +2160,7 @@ private Mapping generateMappingForType(JavaClass theType, String attributeName){
QName schemaType = userDefinedSchemaTypes.get(theType.getQualifiedName());

if (schemaType == null) {
schemaType = helper.getXMLToJavaTypeMap().get(theType);
schemaType = helper.getXMLToJavaTypeMap().get(theType.getName());
}
((Field) mapping.getField()).setSchemaType(schemaType);
if(info != null && info.isEnumerationType()) {
Expand Down

0 comments on commit 0d12bf7

Please sign in to comment.