Unverified Commit 70a3d755 authored by Dawei-Simayi's avatar Dawei-Simayi Committed by GitHub
Browse files

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

parent 7c292833
......@@ -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<>();
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment