Use consistent modifier order
Update code to use a consistent modifier order that aligns with that used in the "Java Language specification". Issue gh-8945
This commit is contained in:
@@ -38,7 +38,7 @@ import org.springframework.util.ObjectUtils;
|
||||
*/
|
||||
public final class DelegatingMethodSecurityMetadataSource extends AbstractMethodSecurityMetadataSource {
|
||||
|
||||
private final static List<ConfigAttribute> NULL_CONFIG_ATTRIBUTE = Collections.emptyList();
|
||||
private static final List<ConfigAttribute> NULL_CONFIG_ATTRIBUTE = Collections.emptyList();
|
||||
|
||||
private final List<MethodSecurityMetadataSource> methodSecurityMetadataSources;
|
||||
|
||||
|
||||
@@ -33,7 +33,7 @@ import static org.mockito.Mockito.when;
|
||||
*/
|
||||
public class SecurityExpressionRootTests {
|
||||
|
||||
final static Authentication JOE = new TestingAuthenticationToken("joe", "pass", "ROLE_A", "ROLE_B");
|
||||
static final Authentication JOE = new TestingAuthenticationToken("joe", "pass", "ROLE_A", "ROLE_B");
|
||||
|
||||
SecurityExpressionRoot root;
|
||||
|
||||
|
||||
@@ -36,7 +36,7 @@ import static org.assertj.core.api.Assertions.fail;
|
||||
*/
|
||||
public class AnonymousAuthenticationTokenTests {
|
||||
|
||||
private final static List<GrantedAuthority> ROLES_12 = AuthorityUtils.createAuthorityList("ROLE_ONE", "ROLE_TWO");
|
||||
private static final List<GrantedAuthority> ROLES_12 = AuthorityUtils.createAuthorityList("ROLE_ONE", "ROLE_TWO");
|
||||
|
||||
@Test
|
||||
public void testConstructorRejectsNulls() {
|
||||
|
||||
Reference in New Issue
Block a user