tidied up a few warnings

This commit is contained in:
Jonas Partner
2008-06-26 09:22:43 +00:00
parent c18ec83cbf
commit 6812c7eb2e
6 changed files with 61 additions and 52 deletions

View File

@@ -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;

View File

@@ -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;

View File

@@ -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;