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:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user