From ce7d098a485d3a3a58f52e269f48be4969e13f9b Mon Sep 17 00:00:00 2001 From: Wouter de Bie Date: Sat, 17 Oct 2015 09:00:18 -0400 Subject: [PATCH] NIFI-1043 fix for erroneous whitespace in maven archetype. This closes #100. Signed off by Tony Kurc --- .../src/main/java/MyProcessor.java | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/nifi-maven-archetypes/nifi-processor-bundle-archetype/src/main/resources/archetype-resources/nifi-__artifactBaseName__-processors/src/main/java/MyProcessor.java b/nifi-maven-archetypes/nifi-processor-bundle-archetype/src/main/resources/archetype-resources/nifi-__artifactBaseName__-processors/src/main/java/MyProcessor.java index 7b70dcab7f..ca5d903d7a 100644 --- a/nifi-maven-archetypes/nifi-processor-bundle-archetype/src/main/resources/archetype-resources/nifi-__artifactBaseName__-processors/src/main/java/MyProcessor.java +++ b/nifi-maven-archetypes/nifi-processor-bundle-archetype/src/main/resources/archetype-resources/nifi-__artifactBaseName__-processors/src/main/java/MyProcessor.java @@ -84,13 +84,10 @@ public class MyProcessor extends AbstractProcessor { @Override public void onTrigger(final ProcessContext context, final ProcessSession session) throws ProcessException { - FlowFile flowFile = session.get(); - if ( flowFile == null ) { - return; - } - + FlowFile flowFile = session.get(); + if ( flowFile == null ) { + return; + } // TODO implement - } - }