HashMap的容量一定是2的整数幂 (#711)

pull/721/head
Dawei-Simayi 2021-12-23 15:55:40 +08:00 committed by GitHub
parent 7c29283377
commit 70a3d7550b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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<>();