1
0
mirror of synced 2026-05-22 21:33:16 +00:00

SEC-2955: Convert to "static" for inner classes

This commit is contained in:
Alex Panchenko
2015-04-07 09:32:56 +06:00
committed by Rob Winch
parent 1a716d0593
commit 0a118336d4
5 changed files with 5 additions and 5 deletions
@@ -660,7 +660,7 @@ public class BasicLookupStrategy implements LookupStrategy {
}
}
private class StubAclParent implements Acl {
private static class StubAclParent implements Acl {
private final Long id;
public StubAclParent(Long id) {
@@ -410,7 +410,7 @@ public class MessageSecurityMetadataSourceRegistry {
return "hasAnyAuthority('" + anyAuthorities + "')";
}
private class PreBuiltMatcherBuilder implements MatcherBuilder {
private static class PreBuiltMatcherBuilder implements MatcherBuilder {
private MessageMatcher<?> matcher;
private PreBuiltMatcherBuilder(MessageMatcher<?> matcher) {
@@ -170,7 +170,7 @@ public abstract class AbstractSecurityWebSocketMessageBrokerConfigurer extends
protected void configureInbound(MessageSecurityMetadataSourceRegistry messages) {
}
private class WebSocketMessageSecurityMetadataSourceRegistry extends
private static class WebSocketMessageSecurityMetadataSourceRegistry extends
MessageSecurityMetadataSourceRegistry {
@Override
public MessageSecurityMetadataSource createMetadataSource() {
@@ -279,7 +279,7 @@ public class MapBasedMethodSecurityMetadataSource extends
* inherits but does not redeclare a method, the registered Class will be the Class
* we're invoking against and the Method will provide details of the declared class.
*/
private class RegisteredMethod {
private static class RegisteredMethod {
private final Method method;
private final Class<?> registeredJavaType;
@@ -336,7 +336,7 @@ public class FilterChainProxy extends GenericFilterBean {
void validate(FilterChainProxy filterChainProxy);
}
private class NullFilterChainValidator implements FilterChainValidator {
private static class NullFilterChainValidator implements FilterChainValidator {
public void validate(FilterChainProxy filterChainProxy) {
}
}