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
View File
+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());
}
+3 -3
View File
@@ -1,8 +1,8 @@
# arthas http port
arthas.server.port=7777
# for all endpoints
management.endpoints.web.exposure.include=*
# default user name
spring.security.user.name=arthas