From c6f88b8aeb9deddfcb22836518b5a07cff9bcfa7 Mon Sep 17 00:00:00 2001 From: Mahmoud Ben Hassine Date: Thu, 8 May 2025 00:16:45 +0200 Subject: [PATCH] Fix javadocs --- .../batch/core/launch/JobOperator.java | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/spring-batch-core/src/main/java/org/springframework/batch/core/launch/JobOperator.java b/spring-batch-core/src/main/java/org/springframework/batch/core/launch/JobOperator.java index e6e570520..5ed837e47 100644 --- a/spring-batch-core/src/main/java/org/springframework/batch/core/launch/JobOperator.java +++ b/spring-batch-core/src/main/java/org/springframework/batch/core/launch/JobOperator.java @@ -232,8 +232,8 @@ public interface JobOperator extends JobLauncher { * @return the job parameters that were used to launch the associated instance * @throws NoSuchJobExecutionException if the id was not associated with any * {@link JobExecution} - * @deprecated Since 6.0 in favor of - * {@link org.springframework.batch.core.repository.JobRepository#getJobExecution(Long).getJobParameters()}. + * @deprecated Since 6.0 in favor of the getJobParameters() method of + * {@link org.springframework.batch.core.repository.JobRepository#getJobExecution(Long)}. * Scheduled for removal in 6.2 or later. */ @Deprecated(since = "6.0", forRemoval = true) @@ -246,8 +246,8 @@ public interface JobOperator extends JobLauncher { * @return a String summarising the state of the job execution * @throws NoSuchJobExecutionException if there is no {@link JobExecution} with the * supplied id - * @deprecated Since 6.0 in favor of - * {@link org.springframework.batch.core.repository.JobRepository#getJobExecution(Long).toString()}. + * @deprecated Since 6.0 in favor of the toString() method of + * {@link org.springframework.batch.core.repository.JobRepository#getJobExecution(Long)}. * Scheduled for removal in 6.2 or later. */ @Deprecated(since = "6.0", forRemoval = true) @@ -260,8 +260,8 @@ public interface JobOperator extends JobLauncher { * @return a map of step execution id to String summarising the state of the execution * @throws NoSuchJobExecutionException if there is no {@link JobExecution} with the * supplied id - * @deprecated Since 6.0 in favor of - * {@link org.springframework.batch.core.repository.JobRepository#getJobExecution(Long).getStepExecutions()}. + * @deprecated Since 6.0 in favor of the getStepExecutions() method of + * {@link org.springframework.batch.core.repository.JobRepository#getJobExecution(Long)}. * Scheduled for removal in 6.2 or later. */ @Deprecated(since = "6.0", forRemoval = true)