删除console多余的@EnableScheduling (#12386)

* 删除console多余的@EnableScheduling

* 删除console多余的@EnableScheduling
This commit is contained in:
laokou 2024-07-29 10:46:35 +08:00 committed by GitHub
parent 927fbfd110
commit 48a0f8b0fb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -25,7 +25,6 @@ import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.context.annotation.ComponentScan; import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.ComponentScan.Filter; import org.springframework.context.annotation.ComponentScan.Filter;
import org.springframework.context.annotation.FilterType; import org.springframework.context.annotation.FilterType;
import org.springframework.scheduling.annotation.EnableScheduling;
/** /**
* Nacos starter. * Nacos starter.
@ -41,7 +40,6 @@ import org.springframework.scheduling.annotation.EnableScheduling;
@Filter(type = FilterType.CUSTOM, classes = {TypeExcludeFilter.class}), @Filter(type = FilterType.CUSTOM, classes = {TypeExcludeFilter.class}),
@Filter(type = FilterType.CUSTOM, classes = {AutoConfigurationExcludeFilter.class})}) @Filter(type = FilterType.CUSTOM, classes = {AutoConfigurationExcludeFilter.class})})
@ServletComponentScan @ServletComponentScan
@EnableScheduling
public class Nacos { public class Nacos {
public static void main(String[] args) { public static void main(String[] args) {