Remove Unnecessary @Override
This commit is contained in:
parent
ff4e9e6ad4
commit
bed20db905
|
@ -300,12 +300,10 @@ public class AbstractSecurityWebSocketMessageBrokerConfigurerTests {
|
|||
|
||||
static class MyCustomArgumentResolver implements HandlerMethodArgumentResolver {
|
||||
|
||||
@Override
|
||||
public boolean supportsParameter(MethodParameter parameter) {
|
||||
return parameter.getParameterType().isAssignableFrom(MyCustomArgument.class);
|
||||
}
|
||||
|
||||
@Override
|
||||
public Object resolveArgument(MethodParameter parameter, Message<?> message) throws Exception {
|
||||
return new MyCustomArgument("");
|
||||
}
|
||||
|
|
|
@ -24,7 +24,6 @@ import org.springframework.messaging.support.ExecutorSubscribableChannel;
|
|||
*/
|
||||
public class SyncExecutorSubscribableChannelPostProcessor implements BeanPostProcessor {
|
||||
|
||||
@Override
|
||||
public Object postProcessBeforeInitialization(Object bean, String beanName) throws BeansException {
|
||||
if(bean instanceof ExecutorSubscribableChannel) {
|
||||
ExecutorSubscribableChannel original = (ExecutorSubscribableChannel) bean;
|
||||
|
@ -35,7 +34,6 @@ public class SyncExecutorSubscribableChannelPostProcessor implements BeanPostPro
|
|||
return bean;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Object postProcessAfterInitialization(Object bean, String beanName) throws BeansException {
|
||||
return bean;
|
||||
}
|
||||
|
|
|
@ -45,7 +45,6 @@ public final class AndMessageMatcher<T> extends AbstractMessageMatcherComposite<
|
|||
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean matches(Message<? extends T> message) {
|
||||
for (MessageMatcher<T> matcher : getMessageMatchers()) {
|
||||
if (LOGGER.isDebugEnabled()) {
|
||||
|
|
|
@ -45,7 +45,6 @@ public final class OrMessageMatcher<T> extends AbstractMessageMatcherComposite<T
|
|||
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean matches(Message<? extends T> message) {
|
||||
for (MessageMatcher<T> matcher : getMessageMatchers()) {
|
||||
if (LOGGER.isDebugEnabled()) {
|
||||
|
|
Loading…
Reference in New Issue