Remove Unnecessary @Override
This commit is contained in:
parent
ff4e9e6ad4
commit
bed20db905
|
@ -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("");
|
||||||
}
|
}
|
||||||
|
|
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
|
@ -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()) {
|
||||||
|
|
|
@ -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()) {
|
||||||
|
|
Loading…
Reference in New Issue