Skip to content

Commit

Permalink
autotypeCheck skip LinkedHashMap
Browse files Browse the repository at this point in the history
  • Loading branch information
wenshao committed Mar 23, 2021
1 parent 03ede75 commit 9b8b186
Showing 1 changed file with 2 additions and 0 deletions.
Expand Up @@ -182,6 +182,8 @@ public static Map parseMap(DefaultJSONParser parser, Map<String, Object> map, Ty

if (typeName.equals("java.util.HashMap")) {
clazz = java.util.HashMap.class;
} else if (typeName.equals("java.util.LinkedHashMap")) {
clazz = java.util.LinkedHashMap.class;
} else {
clazz = config.checkAutoType(typeName, null, lexer.getFeatures());
}
Expand Down

0 comments on commit 9b8b186

Please sign in to comment.