REOPENED - BATCH-779: RFC: make FieldSetMapper and LineAggregator extend ItemProcessor
remove the "extends ItemProcessor" clauses
This commit is contained in:
@@ -83,7 +83,7 @@ public class AggregateItemFieldSetMapper<T> implements FieldSetMapper<AggregateI
|
||||
* @return an {@link AggregateItem} that wraps the return value from the
|
||||
* delegate
|
||||
*/
|
||||
public AggregateItem<T> process(FieldSet fieldSet) throws Exception {
|
||||
public AggregateItem<T> process(FieldSet fieldSet) {
|
||||
|
||||
if (fieldSet.readString(0).equals(begin)) {
|
||||
return AggregateItem.getHeader();
|
||||
|
||||
@@ -26,7 +26,7 @@ public class CompositeCustomerUpdateLineTokenizer extends StepExecutionListenerS
|
||||
/* (non-Javadoc)
|
||||
* @see org.springframework.batch.item.file.transform.LineTokenizer#tokenize(java.lang.String)
|
||||
*/
|
||||
public FieldSet process(String line) throws Exception {
|
||||
public FieldSet process(String line) {
|
||||
|
||||
if(line.charAt(0) == 'F'){
|
||||
//line starts with F, so the footer tokenizer should tokenize it.
|
||||
|
||||
Reference in New Issue
Block a user