Replace deprecated StepExecution and JobExecution convenience getters
ProprietarySpring Batch 6.1 deprecated the convenience getters StepExecution#getJobExecutionId(), StepExecution#getJobParameters() and JobExecution#getJobInstanceId() for removal in 7.0. Their replacements go through the owning entity: getJobExecution().getId(), getJobExecution().getJobParameters() and getJobInstance().getId(). All replacements exist in Spring Batch 6.0, so this can be applied before moving to 6.1.
io. moderne. java. spring. batch. ReplaceDeprecatedExecutionGettersmod run . --recipe= io. moderne. java. spring. batch. ReplaceDeprecatedExecutionGettersInstall it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.