RESOLVED - issue BATCH-1320: New line special character in Header
http://jira.springframework.org/browse/BATCH-1320
This commit is contained in:
@@ -259,7 +259,7 @@ public class FlatFileItemWriter<T> extends ExecutionContextUserSupport implement
|
||||
if (headerCallback != null) {
|
||||
try {
|
||||
headerCallback.writeHeader(outputState.outputBufferedWriter);
|
||||
outputState.write("\n");
|
||||
outputState.write(lineSeparator);
|
||||
}
|
||||
catch (IOException e) {
|
||||
throw new ItemStreamException("Could not write headers. The file may be corrupt.", e);
|
||||
|
||||
Reference in New Issue
Block a user