diff --git a/spring-batch-core/src/test/java/org/springframework/batch/core/repository/dao/MapStepExecutionDaoTests.java b/spring-batch-core/src/test/java/org/springframework/batch/core/repository/dao/MapStepExecutionDaoTests.java index 1c9d5f698..d0196b12b 100644 --- a/spring-batch-core/src/test/java/org/springframework/batch/core/repository/dao/MapStepExecutionDaoTests.java +++ b/spring-batch-core/src/test/java/org/springframework/batch/core/repository/dao/MapStepExecutionDaoTests.java @@ -33,7 +33,7 @@ public class MapStepExecutionDaoTests extends AbstractStepExecutionDaoTests { @Test public void testPersistentCopy() { StepExecutionDao tested = new MapStepExecutionDao(); - JobExecution jobExecution = new JobExecution((long) 77); + JobExecution jobExecution = new JobExecution(77L); StepExecution stepExecution = new StepExecution("stepName", jobExecution); assertNull(stepExecution.getEndTime());