Skip to content

Commit 0b745e5

Browse files
committed
Add @nullable to StepExecution::getEndTime
1 parent f3a1184 commit 0b745e5

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@
2424
import java.util.concurrent.CopyOnWriteArrayList;
2525

2626
import org.springframework.batch.item.ExecutionContext;
27+
import org.springframework.lang.Nullable;
2728
import org.springframework.util.Assert;
2829

2930
/**
@@ -159,6 +160,7 @@ public void setCommitCount(long commitCount) {
159160
*
160161
* @return the time that this execution ended
161162
*/
163+
@Nullable
162164
public Date getEndTime() {
163165
return endTime;
164166
}

0 commit comments

Comments
 (0)