IN PROGRESS - BATCH-709: Change all collections to use generics

This commit is contained in:
robokaso
2008-07-16 10:26:22 +00:00
parent 4b04e4a7cf
commit 04a32007ad
6 changed files with 29 additions and 18 deletions

View File

@@ -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;
}

View File

@@ -270,8 +270,7 @@ public abstract class AbstractStepFactoryBean implements FactoryBean, BeanNameAw
}
@SuppressWarnings("unchecked")
public Class getObjectType() {
public Class<Step> getObjectType() {
return Step.class;
}