Explorar o código

update document

xuxueli %!s(int64=5) %!d(string=hai) anos
pai
achega
d41c992ca1

+ 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();
+    String init() default "";
 
     /**
      * destroy handler, invoked when JobThread destroy
      */
-    String destroy();
+    String destroy() default "";
 
 }