Remove Unnecessary @Override

This commit is contained in:
Rob Winch 2015-02-27 16:18:31 -06:00
parent ff4e9e6ad4
commit bed20db905
4 changed files with 0 additions and 6 deletions

View File

@ -300,12 +300,10 @@ public class AbstractSecurityWebSocketMessageBrokerConfigurerTests {
static class MyCustomArgumentResolver implements HandlerMethodArgumentResolver { static class MyCustomArgumentResolver implements HandlerMethodArgumentResolver {
@Override
public boolean supportsParameter(MethodParameter parameter) { public boolean supportsParameter(MethodParameter parameter) {
return parameter.getParameterType().isAssignableFrom(MyCustomArgument.class); return parameter.getParameterType().isAssignableFrom(MyCustomArgument.class);
} }
@Override
public Object resolveArgument(MethodParameter parameter, Message<?> message) throws Exception { public Object resolveArgument(MethodParameter parameter, Message<?> message) throws Exception {
return new MyCustomArgument(""); return new MyCustomArgument("");
} }

View File

@ -24,7 +24,6 @@ import org.springframework.messaging.support.ExecutorSubscribableChannel;
*/ */
public class SyncExecutorSubscribableChannelPostProcessor implements BeanPostProcessor { public class SyncExecutorSubscribableChannelPostProcessor implements BeanPostProcessor {
@Override
public Object postProcessBeforeInitialization(Object bean, String beanName) throws BeansException { public Object postProcessBeforeInitialization(Object bean, String beanName) throws BeansException {
if(bean instanceof ExecutorSubscribableChannel) { if(bean instanceof ExecutorSubscribableChannel) {
ExecutorSubscribableChannel original = (ExecutorSubscribableChannel) bean; ExecutorSubscribableChannel original = (ExecutorSubscribableChannel) bean;
@ -35,7 +34,6 @@ public class SyncExecutorSubscribableChannelPostProcessor implements BeanPostPro
return bean; return bean;
} }
@Override
public Object postProcessAfterInitialization(Object bean, String beanName) throws BeansException { public Object postProcessAfterInitialization(Object bean, String beanName) throws BeansException {
return bean; return bean;
} }

View File

@ -45,7 +45,6 @@ public final class AndMessageMatcher<T> extends AbstractMessageMatcherComposite<
} }
@Override
public boolean matches(Message<? extends T> message) { public boolean matches(Message<? extends T> message) {
for (MessageMatcher<T> matcher : getMessageMatchers()) { for (MessageMatcher<T> matcher : getMessageMatchers()) {
if (LOGGER.isDebugEnabled()) { if (LOGGER.isDebugEnabled()) {

View File

@ -45,7 +45,6 @@ public final class OrMessageMatcher<T> extends AbstractMessageMatcherComposite<T
} }
@Override
public boolean matches(Message<? extends T> message) { public boolean matches(Message<? extends T> message) {
for (MessageMatcher<T> matcher : getMessageMatchers()) { for (MessageMatcher<T> matcher : getMessageMatchers()) {
if (LOGGER.isDebugEnabled()) { if (LOGGER.isDebugEnabled()) {