Commit efc38c80 authored by yanzg's avatar yanzg

扩展列表

parent a737c5b6
...@@ -368,7 +368,7 @@ public class ObjectHelper { ...@@ -368,7 +368,7 @@ public class ObjectHelper {
*/ */
private static MethodField getMethodField(Class<?> type, String name) { private static MethodField getMethodField(Class<?> type, String name) {
HashMap<String, MethodField> typeCache = getTypeField(type); HashMap<String, MethodField> typeCache = getTypeField(type);
name = name.toLowerCase().replace("_", ""); name = getSimpleName(name);
return typeCache.containsKey(name) ? typeCache.get(name) : null; return typeCache.containsKey(name) ? typeCache.get(name) : null;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment