tidied up a few warnings
This commit is contained in:
@@ -31,6 +31,7 @@ import org.springframework.security.AccessDecisionManager;
|
||||
import org.springframework.security.ConfigAttributeDefinition;
|
||||
import org.springframework.util.StringUtils;
|
||||
|
||||
@SuppressWarnings("serial")
|
||||
public class TargetSecuringAdvisor extends AbstractPointcutAdvisor implements Pointcut {
|
||||
|
||||
private ClassFilter classFilter;
|
||||
|
||||
@@ -28,12 +28,14 @@ import org.springframework.integration.message.Message;
|
||||
public class TargetSendMethodArgMatcher extends StaticMethodMatcher{
|
||||
|
||||
|
||||
@SuppressWarnings("unchecked")
|
||||
public boolean matches(Method method, Class targetClass) {
|
||||
return argsTypesMatch(method.getParameterTypes());
|
||||
}
|
||||
|
||||
|
||||
|
||||
@SuppressWarnings("unchecked")
|
||||
protected boolean argsTypesMatch(Class[] args){
|
||||
if(args.length > 2){
|
||||
return false;
|
||||
|
||||
@@ -16,7 +16,6 @@
|
||||
|
||||
package org.springframework.integration.security.channel;
|
||||
|
||||
import org.springframework.integration.channel.AbstractMessageChannel;
|
||||
import org.springframework.integration.channel.MessageChannel;
|
||||
import org.springframework.integration.channel.interceptor.ChannelInterceptorAdapter;
|
||||
import org.springframework.integration.message.Message;
|
||||
|
||||
Reference in New Issue
Block a user