mirror of
https://gitee.com/arthas/arthas.git
synced 2024-11-29 18:58:37 +08:00
ObjectView support enum. close #454
This commit is contained in:
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…
Reference in New Issue
Block a user