Skip to content

Commit b87d363

Browse files
committed
Fix JavaDoc of BatchStatus.isLessThanOrEqualTo
The @return tag incorrectly stated 'less than' instead of 'less than or equal to'. Closes #5285 Signed-off-by: hanweiwei <duzielww@163.com>
1 parent d8632a3 commit b87d363

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spring-batch-core/src/main/java/org/springframework/batch/core/BatchStatus.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ public boolean isLessThan(BatchStatus other) {
137137

138138
/**
139139
* @param other A status value to which to compare.
140-
* @return {@code true} if this is less than {@code other}.
140+
* @return {@code true} if this is less than or equal to {@code other}.
141141
*/
142142
public boolean isLessThanOrEqualTo(BatchStatus other) {
143143
return this.compareTo(other) <= 0;

0 commit comments

Comments
 (0)