From 66289e6135bda282f4387e8cdc3a423eb5694fbb Mon Sep 17 00:00:00 2001 From: Taeik Lim Date: Thu, 9 Dec 2021 19:53:48 +0900 Subject: [PATCH] Add @Nullable to StepExecution::getEndTime --- .../java/org/springframework/batch/core/StepExecution.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/spring-batch-core/src/main/java/org/springframework/batch/core/StepExecution.java b/spring-batch-core/src/main/java/org/springframework/batch/core/StepExecution.java index 0e243e3dbf..670ca3525b 100644 --- a/spring-batch-core/src/main/java/org/springframework/batch/core/StepExecution.java +++ b/spring-batch-core/src/main/java/org/springframework/batch/core/StepExecution.java @@ -24,6 +24,7 @@ import java.util.concurrent.CopyOnWriteArrayList; import org.springframework.batch.item.ExecutionContext; +import org.springframework.lang.Nullable; import org.springframework.util.Assert; /** @@ -34,6 +35,7 @@ * @author Lucas Ward * @author Dave Syer * @author Mahmoud Ben Hassine + * @author Taeik Lim * */ @SuppressWarnings("serial") @@ -159,6 +161,7 @@ public void setCommitCount(long commitCount) { * * @return the time that this execution ended */ + @Nullable public Date getEndTime() { return endTime; }