Change the return type of counting methods in various DAOs from int to long

This is required for job repository/explorer implementations
that use the Long type to count records in the database.

Resolves #4227
This commit is contained in:
Mahmoud Ben Hassine
2022-11-08 21:57:10 +01:00
parent 919f73e78c
commit 2edd4006d2
18 changed files with 26 additions and 26 deletions

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2006-2021 the original author or authors.
* Copyright 2006-2022 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -65,7 +65,7 @@ public class JobRepositorySupport implements JobRepository {
* org.springframework.batch.core.repository.JobRepository#getStepExecutionCount(org.
* springframework.batch.core.JobInstance, org.springframework.batch.core.Step)
*/
public int getStepExecutionCount(JobInstance jobInstance, String stepName) {
public long getStepExecutionCount(JobInstance jobInstance, String stepName) {
return 0;
}