mirror of
https://github.com/spring-projects/spring-framework.git
synced 2026-09-20 20:59:07 +00:00
removed @Override annotations from interface methods
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1316 50f2f4bb-b051-0410-bef5-90022cba6387
This commit is contained in:
-3
@@ -82,7 +82,6 @@ public class ScheduledAnnotationBeanPostProcessor implements BeanPostProcessor,
|
||||
return bean;
|
||||
}
|
||||
ReflectionUtils.doWithMethods(targetClass, new MethodCallback() {
|
||||
@Override
|
||||
public void doWith(Method method) throws IllegalArgumentException, IllegalAccessException {
|
||||
Scheduled annotation = AnnotationUtils.getAnnotation(method, Scheduled.class);
|
||||
if (annotation != null) {
|
||||
@@ -126,7 +125,6 @@ public class ScheduledAnnotationBeanPostProcessor implements BeanPostProcessor,
|
||||
return bean;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onApplicationEvent(ContextRefreshedEvent event) {
|
||||
if (scheduler != null) {
|
||||
this.registrar.setScheduler(scheduler);
|
||||
@@ -137,7 +135,6 @@ public class ScheduledAnnotationBeanPostProcessor implements BeanPostProcessor,
|
||||
this.registrar.afterPropertiesSet();
|
||||
}
|
||||
|
||||
@Override
|
||||
public void destroy() throws Exception {
|
||||
if (this.registrar != null) {
|
||||
this.registrar.destroy();
|
||||
|
||||
Reference in New Issue
Block a user