IN PROGRESS - BATCH-709: Change all collections to use generics
This commit is contained in:
@@ -64,8 +64,7 @@ public abstract class AbstractJobRepositoryFactoryBean implements FactoryBean, I
|
||||
* @return JobRepository.class
|
||||
* @see org.springframework.beans.factory.FactoryBean#getObjectType()
|
||||
*/
|
||||
@SuppressWarnings("unchecked")
|
||||
public Class getObjectType() {
|
||||
public Class<JobRepository> getObjectType() {
|
||||
return JobRepository.class;
|
||||
}
|
||||
|
||||
|
||||
@@ -270,8 +270,7 @@ public abstract class AbstractStepFactoryBean implements FactoryBean, BeanNameAw
|
||||
|
||||
}
|
||||
|
||||
@SuppressWarnings("unchecked")
|
||||
public Class getObjectType() {
|
||||
public Class<Step> getObjectType() {
|
||||
return Step.class;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user