Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
jinli gu
Eladmin
Commits
70a3d755
Unverified
Commit
70a3d755
authored
Dec 23, 2021
by
Dawei-Simayi
Committed by
GitHub
Dec 23, 2021
Browse files
HashMap的容量一定是2的整数幂 (#711)
parent
7c292833
Changes
1
Hide whitespace changes
Inline
Side-by-side
eladmin-system/src/main/java/me/zhengjie/modules/security/config/SpringSecurityConfig.java
View file @
70a3d755
...
...
@@ -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
<>();
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment