注解去掉 default "",必须指定任务名称。

This commit is contained in:
abel533 2019-12-19 09:06:29 +08:00
parent 99c9a2ab63
commit d016661ac4
2 changed files with 2 additions and 2 deletions

View File

@ -19,6 +19,6 @@ import java.lang.annotation.Target;
@Deprecated
public @interface JobHandler {
String value() default "";
String value();
}

View File

@ -15,7 +15,7 @@ public @interface XxlJob {
/**
* jobhandler name
*/
String value() default "";
String value();
/**
* init handler, invoked when JobThread init