RESOLVED - BATCH-741: DefaultFieldSet should clone the tokens before exposing them in getValues()

This commit is contained in:
robokaso
2008-07-22 11:22:12 +00:00
parent 904344781f
commit 44ed2b420d

View File

@@ -84,7 +84,7 @@ public class DefaultFieldSet implements FieldSet {
* @see org.springframework.batch.io.file.mapping.IFieldSet#getValues()
*/
public String[] getValues() {
return tokens;
return (String[]) tokens.clone();
}
/*