mirror of https://github.com/elunez/eladmin
HashMap的容量一定是2的整数幂 (#711)
parent
7c29283377
commit
70a3d7550b
|
@ -142,7 +142,7 @@ public class SpringSecurityConfig extends WebSecurityConfigurerAdapter {
|
|||
}
|
||||
|
||||
private Map<String, Set<String>> getAnonymousUrl(Map<RequestMappingInfo, HandlerMethod> handlerMethodMap) {
|
||||
Map<String, Set<String>> anonymousUrls = new HashMap<>(6);
|
||||
Map<String, Set<String>> anonymousUrls = new HashMap<>(8);
|
||||
Set<String> get = new HashSet<>();
|
||||
Set<String> post = new HashSet<>();
|
||||
Set<String> put = new HashSet<>();
|
||||
|
|
Loading…
Reference in New Issue