Skip to content

Commit 5260328

Browse files
HJC96fmbenhassine
authored andcommitted
Fix javadoc for getJobNames() method
Clarify that the method returns job names (not job instances) for all jobs that have at least one job instance in the repository. Resolves FIXME comment about ambiguous javadoc description. Signed-off-by: HJC96 <gkswlcjs2@naver.com> (cherry picked from commit 69da1b7)
1 parent 93f4b9c commit 5260328

File tree

1 file changed

+3
-3
lines changed
  • spring-batch-core/src/main/java/org/springframework/batch/core/repository/dao

1 file changed

+3
-3
lines changed

spring-batch-core/src/main/java/org/springframework/batch/core/repository/dao/JobInstanceDao.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -103,9 +103,9 @@ default JobInstance getLastJobInstance(String jobName) {
103103
}
104104

105105
/**
106-
* Retrieve the names of all job instances sorted alphabetically - i.e. jobs that have
107-
* ever been executed.
108-
* @return the names of all job instances
106+
* Retrieve the names of all jobs for which job instances exist, sorted
107+
* alphabetically.
108+
* @return the names of all jobs with job instances
109109
*/
110110
List<String> getJobNames();
111111

0 commit comments

Comments
 (0)