remove redundant modifiers found by checkstyle
This commit is contained in:
+1
-1
@@ -44,7 +44,7 @@ class MessageExpressionConfigAttribute implements ConfigAttribute, EvaluationCon
|
||||
* @param authorizeExpression the {@link Expression} to use. Cannot be null
|
||||
* @param matcher the {@link MessageMatcher} used to match the messages.
|
||||
*/
|
||||
public MessageExpressionConfigAttribute(Expression authorizeExpression, MessageMatcher<?> matcher) {
|
||||
MessageExpressionConfigAttribute(Expression authorizeExpression, MessageMatcher<?> matcher) {
|
||||
Assert.notNull(authorizeExpression, "authorizeExpression cannot be null");
|
||||
Assert.notNull(matcher, "matcher cannot be null");
|
||||
this.authorizeExpression = authorizeExpression;
|
||||
|
||||
+2
-2
@@ -38,7 +38,7 @@ abstract class AbstractMessageMatcherComposite<T> implements MessageMatcher<T> {
|
||||
*
|
||||
* @param messageMatchers the {@link MessageMatcher} instances to try
|
||||
*/
|
||||
public AbstractMessageMatcherComposite(List<MessageMatcher<T>> messageMatchers) {
|
||||
AbstractMessageMatcherComposite(List<MessageMatcher<T>> messageMatchers) {
|
||||
notEmpty(messageMatchers, "messageMatchers must contain a value");
|
||||
if (messageMatchers.contains(null)) {
|
||||
throw new IllegalArgumentException(
|
||||
@@ -54,7 +54,7 @@ abstract class AbstractMessageMatcherComposite<T> implements MessageMatcher<T> {
|
||||
* @param messageMatchers the {@link MessageMatcher} instances to try
|
||||
*/
|
||||
@SafeVarargs
|
||||
public AbstractMessageMatcherComposite(MessageMatcher<T>... messageMatchers) {
|
||||
AbstractMessageMatcherComposite(MessageMatcher<T>... messageMatchers) {
|
||||
this(asList(messageMatchers));
|
||||
}
|
||||
|
||||
|
||||
+1
-1
@@ -265,7 +265,7 @@ public class AuthenticationPrincipalArgumentResolverTests {
|
||||
this.property = property;
|
||||
}
|
||||
|
||||
public CopyUserPrincipal(CopyUserPrincipal toCopy) {
|
||||
CopyUserPrincipal(CopyUserPrincipal toCopy) {
|
||||
this.property = toCopy.property;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user