Fixed issue that broke maven build
This commit is contained in:
committed by
Dave Syer
parent
b075851184
commit
7fb85bbc1b
@@ -598,7 +598,8 @@ public class SimpleStepFactoryBean<T, S> implements FactoryBean, BeanNameAware {
|
||||
step.setStepExecutionListeners(BatchListenerFactoryHelper.getListeners(listeners, StepExecutionListener.class)
|
||||
.toArray(new StepExecutionListener[] {}));
|
||||
|
||||
for(ChunkListener chunkListener: BatchListenerFactoryHelper.getListeners(listeners, ChunkListener.class)){
|
||||
List<ChunkListener> chunkListeners = BatchListenerFactoryHelper.getListeners(listeners, ChunkListener.class);
|
||||
for(ChunkListener chunkListener: chunkListeners){
|
||||
registerChunkListeners(step,chunkListener);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user