Merge pull request #1389 from abel533/default_name

注解去掉 default "",必须指定任务名称。
This commit is contained in:
许雪里 2020-01-02 21:39:34 +08:00 committed by GitHub
commit 8516d7bb50
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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