【fix sonar】SampleJob文件
This commit is contained in:
+3
-4
@@ -9,15 +9,14 @@ import lombok.extern.slf4j.Slf4j;
|
||||
|
||||
/**
|
||||
* 示例不带参定时任务
|
||||
*
|
||||
*
|
||||
* @Author Scott
|
||||
*/
|
||||
@Slf4j
|
||||
public class SampleJob implements Job {
|
||||
|
||||
@Override
|
||||
public void execute(JobExecutionContext jobExecutionContext) throws JobExecutionException {
|
||||
|
||||
log.info(String.format(" jero-boot 普通定时任务 SampleJob ! 时间:" + DateUtils.getTimestamp()));
|
||||
public void execute(JobExecutionContext jobExecutionContext){
|
||||
log.info(" jero-boot 普通定时任务 SampleJob ! 时间:" + DateUtils.getTimestamp());
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user