mirror of https://github.com/apache/nifi.git
NIFI-1106 fixed platform-specific object separator.
This commit is contained in:
parent
77de51df19
commit
440e4c4940
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue