Commit 8516d7bb by 许雪里 Committed by GitHub

Merge pull request #1389 from abel533/default_name

注解去掉 default "",必须指定任务名称。
parents 99c9a2ab d016661a
...@@ -19,6 +19,6 @@ import java.lang.annotation.Target; ...@@ -19,6 +19,6 @@ import java.lang.annotation.Target;
@Deprecated @Deprecated
public @interface JobHandler { public @interface JobHandler {
String value() default ""; String value();
} }
...@@ -15,7 +15,7 @@ public @interface XxlJob { ...@@ -15,7 +15,7 @@ public @interface XxlJob {
/** /**
* jobhandler name * jobhandler name
*/ */
String value() default ""; String value();
/** /**
* init handler, invoked when JobThread init * init handler, invoked when JobThread init
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment