File tree 1 file changed +5
-2
lines changed
spring-batch-core/src/main/java/org/springframework/batch/core
1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change 24
24
import java .util .concurrent .CopyOnWriteArrayList ;
25
25
26
26
import org .springframework .batch .item .ExecutionContext ;
27
+ import org .springframework .lang .Nullable ;
27
28
import org .springframework .util .Assert ;
28
29
29
30
/**
34
35
* @author Lucas Ward
35
36
* @author Dave Syer
36
37
* @author Mahmoud Ben Hassine
38
+ * @author Taeik Lim
37
39
*
38
40
*/
39
41
@ SuppressWarnings ("serial" )
@@ -157,10 +159,11 @@ public void setCommitCount(long commitCount) {
157
159
}
158
160
159
161
/**
160
- * Returns the time that this execution ended
162
+ * Returns the time that this execution ended or {@code null} if the step is running.
161
163
*
162
- * @return the time that this execution ended
164
+ * @return the time that this execution ended or {@code null} if the step is running
163
165
*/
166
+ @ Nullable
164
167
public Date getEndTime () {
165
168
return endTime ;
166
169
}
You can’t perform that action at this time.
0 commit comments