Skip to content

Commit 0164216

Browse files
committed
Fix JdbcStepExecutionDaoTests
1 parent b88e7d7 commit 0164216

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spring-batch-core/src/main/java/org/springframework/batch/core/repository/dao/jdbc/JdbcStepExecutionDao.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -328,7 +328,7 @@ private String truncateExitDescription(String description) {
328328
@Nullable
329329
public StepExecution getStepExecution(JobExecution jobExecution, Long stepExecutionId) {
330330
try (Stream<StepExecution> stream = getJdbcTemplate().queryForStream(getQuery(GET_STEP_EXECUTION),
331-
new StepExecutionRowMapper(jobExecution), jobExecution.getId(), stepExecutionId)) {
331+
new StepExecutionRowMapper(jobExecution), stepExecutionId)) {
332332
return stream.findFirst().orElse(null);
333333
}
334334
}

0 commit comments

Comments
 (0)