cleaned up unnecessary @SuppressWarnings("unchecked")
This commit is contained in:
@@ -72,7 +72,6 @@ public class FixedLengthImportJobFunctionalTests extends AbstractValidatingBatch
|
||||
fileLocator = new ClassPathResource("data/fixedLengthImportJob/input/20070122.teststream.ImportTradeDataStep.txt");
|
||||
inputSource = new FlatFileItemReader<Trade>();
|
||||
|
||||
@SuppressWarnings("unchecked")
|
||||
FieldSetMapper<Trade> mapper = new TradeFieldSetMapper();
|
||||
inputSource.setFieldSetMapper(mapper);
|
||||
|
||||
|
||||
@@ -62,7 +62,6 @@ public class TradeJobFunctionalTests extends AbstractValidatingBatchLauncherTest
|
||||
this.simpleJdbcTemplate = new SimpleJdbcTemplate(dataSource);
|
||||
}
|
||||
|
||||
@SuppressWarnings("unchecked")
|
||||
@Before
|
||||
public void onSetUp() throws Exception {
|
||||
simpleJdbcTemplate.update("delete from TRADE");
|
||||
|
||||
Reference in New Issue
Block a user