xuxueli 5 лет назад
Родитель
Сommit
22b80c5ac8

+ 1 - 0
doc/XXL-JOB官方文档.md Просмотреть файл

@@ -1687,6 +1687,7 @@ public ReturnT<String> execute(String param) {
1687 1687
 
1688 1688
 ### 6.28 版本 v2.2.0 Release Notes[迭代中]
1689 1689
 - 1、[迭代中]调度中心升级springboot2.x;因此,系统要求JDK8+;
1690
+- 2、执行器注册默认值优化;
1690 1691
 
1691 1692
 
1692 1693
 ### TODO LIST

+ 2 - 2
xxl-job-core/src/main/java/com/xxl/job/core/handler/annotation/XxlJob.java Просмотреть файл

@@ -20,11 +20,11 @@ public @interface XxlJob {
20 20
     /**
21 21
      * init handler, invoked when JobThread init
22 22
      */
23
-    String init() default "";
23
+    String init();
24 24
 
25 25
     /**
26 26
      * destroy handler, invoked when JobThread destroy
27 27
      */
28
-    String destroy() default "";
28
+    String destroy();
29 29
 
30 30
 }