RESOLVED - issue BATCH-1269: Add FieldSet support to PassThroughFieldExtractor

http://jira.springframework.org/browse/BATCH-1269
This commit is contained in:
dsyer
2009-06-03 14:52:20 +00:00
parent 751246a589
commit 88dfdba97e
2 changed files with 15 additions and 4 deletions

View File

@@ -58,6 +58,10 @@ public class PassThroughFieldExtractor<T> implements FieldExtractor<T> {
}
return args;
}
if (item instanceof FieldSet) {
return ((FieldSet) item).getValues();
}
return new Object[] { item };