Skip to content

Commit

Permalink
Remove redundant annotations (halo-dev#880)
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnNiang authored May 28, 2020
1 parent bc30ab7 commit cf6cd7c
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/main/java/run/halo/app/Application.java
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,8 @@
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.boot.web.servlet.support.SpringBootServletInitializer;
import org.springframework.context.ConfigurableApplicationContext;
import org.springframework.data.jpa.repository.config.EnableJpaAuditing;
import org.springframework.data.jpa.repository.config.EnableJpaRepositories;
import org.springframework.scheduling.annotation.EnableAsync;
import org.springframework.scheduling.annotation.EnableScheduling;
import run.halo.app.repository.base.BaseRepositoryImpl;

/**
Expand All @@ -19,8 +17,6 @@
* @date 2017-11-14
*/
@SpringBootApplication
@EnableJpaAuditing
@EnableScheduling
@EnableAsync
@EnableJpaRepositories(basePackages = "run.halo.app.repository", repositoryBaseClass = BaseRepositoryImpl.class)
public class Application extends SpringBootServletInitializer {
Expand Down

0 comments on commit cf6cd7c

Please sign in to comment.