Three minor code enhancements (#1014)

This commit is contained in:
Roger3581321
2020-03-27 11:33:20 +08:00
committed by GitHub
parent a720769778
commit 4508367c06
3 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -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());
}