From 397e88c8582d6fffe7fd3c21be1663a0c4c22877 Mon Sep 17 00:00:00 2001 From: Mark Payne Date: Thu, 24 May 2018 15:57:28 -0400 Subject: [PATCH] NIFI-4227: Fixed typo --- .../org/apache/nifi/processors/standard/ForkRecord.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/nifi-nar-bundles/nifi-standard-bundle/nifi-standard-processors/src/main/java/org/apache/nifi/processors/standard/ForkRecord.java b/nifi-nar-bundles/nifi-standard-bundle/nifi-standard-processors/src/main/java/org/apache/nifi/processors/standard/ForkRecord.java index 2c2860386f..941e7dc55b 100644 --- a/nifi-nar-bundles/nifi-standard-bundle/nifi-standard-processors/src/main/java/org/apache/nifi/processors/standard/ForkRecord.java +++ b/nifi-nar-bundles/nifi-standard-bundle/nifi-standard-processors/src/main/java/org/apache/nifi/processors/standard/ForkRecord.java @@ -98,9 +98,9 @@ public class ForkRecord extends AbstractProcessor { private volatile RecordPathCache recordPathCache = new RecordPathCache(25); static final AllowableValue MODE_EXTRACT = new AllowableValue("extract", "Extract", - "Generated records will preserve the input schema and will contain a one-element array"); + "Generated records will be the elements of the array"); static final AllowableValue MODE_SPLIT = new AllowableValue("split", "Split", - "Generated records will be the elements of the array"); + "Generated records will preserve the input schema and will contain a one-element array"); public static final PropertyDescriptor RECORD_READER = new PropertyDescriptor.Builder() .name("record-reader") @@ -209,7 +209,7 @@ public class ForkRecord extends AbstractProcessor { return; } - final List recordPaths = new ArrayList(); + final List recordPaths = new ArrayList<>(); Map processorProperties = context.getProperties(); for (final Map.Entry entry : processorProperties.entrySet()) { PropertyDescriptor property = entry.getKey();