Browse Source

update document

xuxueli 5 years ago
parent
commit
22b80c5ac8

+ 1 - 0
doc/XXL-JOB官方文档.md

@@ -1687,6 +1687,7 @@ public ReturnT<String> execute(String param) {
 
 ### 6.28 版本 v2.2.0 Release Notes[迭代中]
 - 1、[迭代中]调度中心升级springboot2.x;因此,系统要求JDK8+;
+- 2、执行器注册默认值优化;
 
 
 ### 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 {
     /**
      * init handler, invoked when JobThread init
      */
-    String init() default "";
+    String init();
 
     /**
      * destroy handler, invoked when JobThread destroy
      */
-    String destroy() default "";
+    String destroy();
 
 }