BATCH-162: Fixed NFL Sample job
This commit is contained in:
@@ -45,8 +45,7 @@ public class InputSourceItemProvider extends AbstractItemProvider implements Res
|
||||
* @see org.springframework.batch.item.ItemProvider#next()
|
||||
*/
|
||||
public Object next() {
|
||||
Object value = inputSource.read();
|
||||
return value;
|
||||
return inputSource.read();
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -57,6 +57,10 @@ public abstract class AbstractTradeBatchTests extends TestCase {
|
||||
inputSource.afterPropertiesSet();
|
||||
setInputSource(inputSource);
|
||||
}
|
||||
|
||||
public synchronized Object next() {
|
||||
return super.next();
|
||||
}
|
||||
}
|
||||
|
||||
protected static class TradeMapper implements FieldSetMapper{
|
||||
|
||||
Reference in New Issue
Block a user