package lan.dk.podcastserver.config;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.scheduling.annotation.EnableAsync;
import org.springframework.validation.beanvalidation.LocalValidatorFactoryBean;

/**
 * Created by kevin on 26/12/2013.
 */
@Configuration
@ComponentScan(basePackages = { "lan.dk.podcastserver.utils",
                                "lan.dk.podcastserver.service",
                                "lan.dk.podcastserver.business"})
@EnableAsync
public class BeanConfigScan {

    @Bean(name="Validator")
    public LocalValidatorFactoryBean getValidator() {
        return new LocalValidatorFactoryBean();
    }
}

@@ -209,70 +209,8 @@
 on;%0A
-import org.springframework.scheduling.annotation.EnableAsync;%0A
 impo
@@ -540,21 +540,8 @@
 %22%7D)%0A
-@EnableAsync%0A
 publ

remove duplicate annotation about async config