BATCH-1837 Spring 3 Compatibility
Update profile to Spring 3.0.7; fix compile issues in 2 tests.
This commit is contained in:
@@ -88,8 +88,8 @@ public class InlineItemHandlerParserTests {
|
||||
"org/springframework/batch/core/configuration/xml/InlineItemHandlerWithStepScopeParserTests-context.xml");
|
||||
StepSynchronizationManager.register(new StepExecution("step", new JobExecution(123L)));
|
||||
|
||||
@SuppressWarnings("unchecked")
|
||||
Map<String,ItemReader<?>> readers = context.getBeansOfType(ItemReader.class);
|
||||
@SuppressWarnings({ "unchecked", "rawtypes" })
|
||||
Map<String,ItemReader> readers = context.getBeansOfType(ItemReader.class);
|
||||
// Should be 2 each (proxy and target) for the two readers in the steps defined
|
||||
assertEquals(4, readers.size());
|
||||
// System.err.println(readers);
|
||||
|
||||
Reference in New Issue
Block a user