1
0
mirror of https://e.coding.net/circlecloud/YumCore.git synced 2024-11-22 01:48:50 +00:00

fix: 命令解析器参数打印错误

Signed-off-by: 502647092 <admin@yumc.pw>
This commit is contained in:
502647092 2017-09-29 19:20:08 +08:00
parent 0e4051f15d
commit 2945232a71

View File

@ -69,7 +69,7 @@ public class CommandParse {
if (parse == null) { throw new ParseException(String.format("存在无法解析的参数类型 %s", clazz.getName())); } if (parse == null) { throw new ParseException(String.format("存在无法解析的参数类型 %s", clazz.getName())); }
this.parses.add(parse.parseAnnotation(annotations).handleAttrs()); this.parses.add(parse.parseAnnotation(annotations).handleAttrs());
} }
Log.d("命令解析器 %s", Log.getSimpleNames(parses)); Log.d("命令解析器 %s", Log.getSimpleNames(parses.toArray()));
} }
public static CommandParse get(Method method) { public static CommandParse get(Method method) {