File tree 1 file changed +6
-3
lines changed
spring-batch-core/src/main/java/org/springframework/batch/core 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change 1
1
/*
2
- * Copyright 2006-2021 the original author or authors.
2
+ * Copyright 2006-2022 the original author or authors.
3
3
*
4
4
* Licensed under the Apache License, Version 2.0 (the "License");
5
5
* you may not use this file except in compliance with the License.
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" )
@@ -155,10 +157,11 @@ public void setCommitCount(long commitCount) {
155
157
}
156
158
157
159
/**
158
- * Returns the time that this execution ended
160
+ * Returns the time that this execution ended or {@code null} if the step is running.
159
161
*
160
- * @return the time that this execution ended
162
+ * @return the time that this execution ended or {@code null} if the step is running
161
163
*/
164
+ @ Nullable
162
165
public Date getEndTime () {
163
166
return endTime ;
164
167
}
You can’t perform that action at this time.
0 commit comments