Repository navigation
Commit e913048
Remove restricted static imports
Replace static imports with class referenced methods. With the exception
of a few well known static imports, checkstyle restricts the static
imports that a class can use. For example, `asList(...)` would be
replaced with `Arrays.asList(...)`.
Issue gh-89451 parent 9a3fa6e commit e913048
252 files changed
Lines changed: 2216 additions & 2222 deletions
File tree
- acl/src/test/java/org/springframework/security/acls/jdbc
- config/src
- integration-test/java/org/springframework/security/config
- annotation
- authentication/ldap
- rsocket
- ldap
- main/java/org/springframework/security/config
- annotation/web
- configuration
- configurers
- oauth2/server/resource
- saml2
- http
- method
- websocket
- test/java/org/springframework/security/config
- annotation
- authentication
- configuration
- web
- builders
- configuration
- configurers
- oauth2
- client
- server/resource
- openid
- saml2
- reactive
- socket
- core/userdetails
- debug
- http
- customconfigurer
- method
- provisioning
- test
- util
- web/server
- core/src/test/java/org/springframework/security
- access/hierarchicalroles
- concurrent
- core
- jackson2
- crypto/src
- main/java/org/springframework/security/crypto
- encrypt
- password
- test/java/org/springframework/security/crypto/encrypt
- etc/checkstyle
- messaging/src
- main/java/org/springframework/security/messaging/util/matcher
- test/java/org/springframework/security/messaging
- access
- expression
- intercept
- context
- handler/invocation
- oauth2
- oauth2-client/src
- main/java/org/springframework/security/oauth2/client
- endpoint
- jackson2
- oidc/authentication
- registration
- userinfo
- test/java/org/springframework/security/oauth2/client
- authentication
- endpoint
- jackson2
- oidc
- authentication
- userinfo
- registration
- userinfo
- web
- method/annotation
- reactive/function/client
- server
- oauth2-core/src
- main/java/org/springframework/security/oauth2/core
- oidc
- test/java/org/springframework/security/oauth2/core
- endpoint
- oidc
- oauth2-jose/src
- main/java/org/springframework/security/oauth2/jwt
- test/java/org/springframework/security/oauth2/jwt
- oauth2-resource-server/src
- main/java/org/springframework/security/oauth2/server/resource
- authentication
- introspection
- web
- server
- test/java/org/springframework/security/oauth2/server/resource
- authentication
- introspection
- web/reactive/function/client
- rsocket/src/test/java/org/springframework/security/rsocket/authorization
- saml2/saml2-service-provider/src
- main/java/org/springframework/security/saml2
- core
- credentials
- provider/service
- authentication
- metadata
- registration
- servlet/filter
- web
- test/java/org/springframework/security/saml2
- core
- credentials
- provider/service
- authentication
- metadata
- registration
- servlet/filter
- web
- test/src
- main/java/org/springframework/security/test/web
- reactive/server
- servlet
- request
- response
- test/java/org/springframework/security/test/web
- reactive/server
- servlet
- request
- showcase/login
- support
- web/src
- main/java/org/springframework/security/web
- authentication/www
- csrf
- server
- authentication
- csrf
- transport
- test/java/org/springframework/security/web
- authentication
- rememberme
- ui
- context
- header/writers
- method
- reactive/result/view
- server
- authentication
- authorization
- csrf
- util/matcher
- servletapi
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
46 | | - | |
47 | 46 | | |
48 | 47 | | |
49 | 48 | | |
| 49 | + | |
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
| |||
105 | 105 | | |
106 | 106 | | |
107 | 107 | | |
108 | | - | |
| 108 | + | |
109 | 109 | | |
110 | 110 | | |
111 | 111 | | |
| |||
Lines changed: 7 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| 21 | + | |
21 | 22 | | |
22 | 23 | | |
23 | 24 | | |
| |||
46 | 47 | | |
47 | 48 | | |
48 | 49 | | |
49 | | - | |
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
| |||
117 | 117 | | |
118 | 118 | | |
119 | 119 | | |
120 | | - | |
121 | | - | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
122 | 123 | | |
123 | 124 | | |
124 | 125 | | |
125 | 126 | | |
126 | 127 | | |
127 | 128 | | |
128 | 129 | | |
129 | | - | |
130 | | - | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
131 | 133 | | |
132 | 134 | | |
133 | 135 | | |
| |||
Lines changed: 8 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| 19 | + | |
| 20 | + | |
19 | 21 | | |
20 | 22 | | |
21 | 23 | | |
| |||
29 | 31 | | |
30 | 32 | | |
31 | 33 | | |
32 | | - | |
33 | 34 | | |
34 | 35 | | |
35 | 36 | | |
| |||
54 | 55 | | |
55 | 56 | | |
56 | 57 | | |
57 | | - | |
58 | | - | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
59 | 61 | | |
60 | 62 | | |
61 | 63 | | |
62 | 64 | | |
63 | 65 | | |
64 | 66 | | |
65 | | - | |
66 | | - | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
67 | 70 | | |
68 | 71 | | |
69 | 72 | | |
| |||
Lines changed: 3 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| 24 | + | |
24 | 25 | | |
25 | 26 | | |
26 | 27 | | |
| |||
51 | 52 | | |
52 | 53 | | |
53 | 54 | | |
54 | | - | |
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
| |||
109 | 109 | | |
110 | 110 | | |
111 | 111 | | |
112 | | - | |
| 112 | + | |
| 113 | + | |
113 | 114 | | |
114 | 115 | | |
115 | 116 | | |
| |||
Lines changed: 3 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
| 25 | + | |
25 | 26 | | |
26 | 27 | | |
27 | 28 | | |
| |||
50 | 51 | | |
51 | 52 | | |
52 | 53 | | |
53 | | - | |
54 | 54 | | |
55 | 55 | | |
56 | 56 | | |
| |||
101 | 101 | | |
102 | 102 | | |
103 | 103 | | |
104 | | - | |
| 104 | + | |
| 105 | + | |
105 | 106 | | |
106 | 107 | | |
107 | 108 | | |
| |||
Lines changed: 10 additions & 10 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | | - | |
44 | 39 | | |
45 | 40 | | |
46 | 41 | | |
| |||
61 | 56 | | |
62 | 57 | | |
63 | 58 | | |
64 | | - | |
65 | | - | |
66 | | - | |
67 | | - | |
68 | | - | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
69 | 69 | | |
70 | 70 | | |
71 | 71 | | |
| |||
Lines changed: 1 addition & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
43 | | - | |
44 | | - | |
45 | 43 | | |
46 | 44 | | |
47 | 45 | | |
| |||
88 | 86 | | |
89 | 87 | | |
90 | 88 | | |
91 | | - | |
| 89 | + | |
92 | 90 | | |
93 | 91 | | |
94 | 92 | | |
| |||
Lines changed: 1 addition & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
54 | | - | |
55 | | - | |
56 | 54 | | |
57 | 55 | | |
58 | 56 | | |
| |||
367 | 365 | | |
368 | 366 | | |
369 | 367 | | |
370 | | - | |
| 368 | + | |
371 | 369 | | |
372 | 370 | | |
373 | 371 | | |
| |||
Lines changed: 2 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
50 | | - | |
51 | | - | |
| 50 | + | |
52 | 51 | | |
53 | 52 | | |
54 | 53 | | |
| |||
215 | 214 | | |
216 | 215 | | |
217 | 216 | | |
218 | | - | |
| 217 | + | |
219 | 218 | | |
220 | 219 | | |
221 | 220 | | |
| |||
Lines changed: 21 additions & 32 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
68 | 68 | | |
69 | 69 | | |
70 | 70 | | |
71 | | - | |
72 | | - | |
73 | | - | |
74 | | - | |
75 | | - | |
76 | | - | |
77 | | - | |
78 | | - | |
79 | | - | |
80 | | - | |
81 | | - | |
82 | | - | |
83 | | - | |
84 | | - | |
85 | | - | |
86 | | - | |
87 | 71 | | |
88 | 72 | | |
89 | 73 | | |
| |||
993 | 977 | | |
994 | 978 | | |
995 | 979 | | |
996 | | - | |
| 980 | + | |
997 | 981 | | |
998 | 982 | | |
999 | 983 | | |
1000 | | - | |
| 984 | + | |
1001 | 985 | | |
1002 | 986 | | |
1003 | 987 | | |
1004 | | - | |
| 988 | + | |
1005 | 989 | | |
1006 | 990 | | |
1007 | 991 | | |
1008 | | - | |
| 992 | + | |
1009 | 993 | | |
1010 | 994 | | |
1011 | 995 | | |
1012 | | - | |
| 996 | + | |
1013 | 997 | | |
1014 | 998 | | |
1015 | 999 | | |
1016 | | - | |
| 1000 | + | |
| 1001 | + | |
1017 | 1002 | | |
1018 | 1003 | | |
1019 | 1004 | | |
1020 | | - | |
| 1005 | + | |
| 1006 | + | |
1021 | 1007 | | |
1022 | | - | |
| 1008 | + | |
1023 | 1009 | | |
1024 | 1010 | | |
1025 | 1011 | | |
1026 | | - | |
| 1012 | + | |
| 1013 | + | |
1027 | 1014 | | |
1028 | 1015 | | |
1029 | 1016 | | |
1030 | | - | |
1031 | | - | |
| 1017 | + | |
| 1018 | + | |
1032 | 1019 | | |
1033 | 1020 | | |
1034 | 1021 | | |
1035 | | - | |
| 1022 | + | |
1036 | 1023 | | |
1037 | 1024 | | |
1038 | 1025 | | |
1039 | | - | |
| 1026 | + | |
| 1027 | + | |
1040 | 1028 | | |
1041 | 1029 | | |
1042 | 1030 | | |
1043 | 1031 | | |
1044 | | - | |
1045 | | - | |
| 1032 | + | |
| 1033 | + | |
| 1034 | + | |
1046 | 1035 | | |
1047 | 1036 | | |
1048 | | - | |
| 1037 | + | |
1049 | 1038 | | |
1050 | 1039 | | |
1051 | 1040 | | |
| |||
0 commit comments