Merge pull request #38674 from shin-mallang
* pr/38674: Rename local variable in BatchAutoConfiguration Closes gh-38674
This commit is contained in:
@@ -78,9 +78,9 @@ public class BatchAutoConfiguration {
|
||||
public JobLauncherApplicationRunner jobLauncherApplicationRunner(JobLauncher jobLauncher, JobExplorer jobExplorer,
|
||||
JobRepository jobRepository, BatchProperties properties) {
|
||||
JobLauncherApplicationRunner runner = new JobLauncherApplicationRunner(jobLauncher, jobExplorer, jobRepository);
|
||||
String jobNames = properties.getJob().getName();
|
||||
if (StringUtils.hasText(jobNames)) {
|
||||
runner.setJobName(jobNames);
|
||||
String jobName = properties.getJob().getName();
|
||||
if (StringUtils.hasText(jobName)) {
|
||||
runner.setJobName(jobName);
|
||||
}
|
||||
return runner;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user