NIFI-1106 fixed platform-specific object separator.

This commit is contained in:
Tony Kurc 2015-11-08 12:27:41 -05:00
parent 77de51df19
commit 440e4c4940
1 changed files with 1 additions and 1 deletions

View File

@ -138,7 +138,7 @@ public class ConvertAvroToJSON extends AbstractProcessor {
if (containerOption.equals(CONTAINER_ARRAY)) { if (containerOption.equals(CONTAINER_ARRAY)) {
out.write(','); out.write(',');
} else { } else {
out.write(System.lineSeparator().getBytes(StandardCharsets.UTF_8)); out.write('\n');
} }
final GenericRecord nextRecord = reader.next(record); final GenericRecord nextRecord = reader.next(record);