ObjectView support enum. close #454

pull/461/head^2
hengyunabc 6 years ago
parent d1d1d2bc15
commit 5e31fd39f9

@ -571,6 +571,10 @@ public class ObjectView implements View {
appendStringBuilder(buf, format("@%s[%s]", className, new SimpleDateFormat("yyyy-MM-dd HH:mm:ss,SSS").format(obj)));
}
else if (object instanceof Enum<?>) {
appendStringBuilder(buf, format("@%s[%s]", className, obj));
}
// 普通Object输出
else {

Loading…
Cancel
Save