NIFI-4227: Fixed typo

Project: http://git-wip-us.apache.org/repos/asf/nifi/repo
Commit: http://git-wip-us.apache.org/repos/asf/nifi/commit/397e88c8
Tree: http://git-wip-us.apache.org/repos/asf/nifi/tree/397e88c8
Diff: http://git-wip-us.apache.org/repos/asf/nifi/diff/397e88c8

Branch: refs/heads/master
Commit: 397e88c8582d6fffe7fd3c21be1663a0c4c22877
Parents: be0ed70
Author: Mark Payne <[email protected]>
Authored: Thu May 24 15:57:28 2018 -0400
Committer: Mark Payne <[email protected]>
Committed: Thu May 24 15:57:28 2018 -0400

----------------------------------------------------------------------
 .../java/org/apache/nifi/processors/standard/ForkRecord.java   | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/nifi/blob/397e88c8/nifi-nar-bundles/nifi-standard-bundle/nifi-standard-processors/src/main/java/org/apache/nifi/processors/standard/ForkRecord.java
----------------------------------------------------------------------
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 2c28603..941e7dc 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<RecordPath> recordPaths = new ArrayList<RecordPath>();
+        final List<RecordPath> recordPaths = new ArrayList<>();
         Map<PropertyDescriptor, String> processorProperties = 
context.getProperties();
         for (final Map.Entry<PropertyDescriptor, String> entry : 
processorProperties.entrySet()) {
             PropertyDescriptor property = entry.getKey();

Reply via email to