mirror of
https://github.com/alibaba/arthas.git
synced 2024-04-21 10:21:39 +00:00
Three minor code enhancements (#1014)
This commit is contained in:
Regular → Executable
+1
-1
@@ -53,7 +53,7 @@ public class ThreadCommand extends AnnotatedCommand {
|
||||
private String state;
|
||||
|
||||
{
|
||||
states = new HashSet<String>(8);
|
||||
states = new HashSet<String>(State.values().length);
|
||||
for (State state : State.values()) {
|
||||
states.add(state.name());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user