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