Repository: nifi
Updated Branches:
  refs/heads/master b7c639218 -> 0841f14c1


NIFI-2928: Fixed checkstyle violation in FetchFile

This closes #1180

Signed-off-by: Bryan Rosander <brosan...@apache.org>


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

Branch: refs/heads/master
Commit: 0841f14c18eb3798ebc798406109bd3f9bdb6643
Parents: b7c6392
Author: Matt Burgess <mattyb...@apache.org>
Authored: Thu Nov 3 14:20:13 2016 -0400
Committer: Bryan Rosander <brosan...@apache.org>
Committed: Thu Nov 3 14:46:10 2016 -0400

----------------------------------------------------------------------
 .../main/java/org/apache/nifi/processors/standard/FetchFile.java  | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/nifi/blob/0841f14c/nifi-nar-bundles/nifi-standard-bundle/nifi-standard-processors/src/main/java/org/apache/nifi/processors/standard/FetchFile.java
----------------------------------------------------------------------
diff --git 
a/nifi-nar-bundles/nifi-standard-bundle/nifi-standard-processors/src/main/java/org/apache/nifi/processors/standard/FetchFile.java
 
b/nifi-nar-bundles/nifi-standard-bundle/nifi-standard-processors/src/main/java/org/apache/nifi/processors/standard/FetchFile.java
index afdd6cf..7c2c415 100644
--- 
a/nifi-nar-bundles/nifi-standard-bundle/nifi-standard-processors/src/main/java/org/apache/nifi/processors/standard/FetchFile.java
+++ 
b/nifi-nar-bundles/nifi-standard-bundle/nifi-standard-processors/src/main/java/org/apache/nifi/processors/standard/FetchFile.java
@@ -186,7 +186,8 @@ public class FetchFile extends AbstractProcessor {
         // Verify that file system is reachable and file exists
         Path filePath = file.toPath();
         if (!Files.exists(filePath) && !Files.notExists(filePath)){ // see 
https://docs.oracle.com/javase/tutorial/essential/io/check.html for more details
-            getLogger().log(levelFileNotFound, "Could not fetch file {} from 
file system for {} because the existence of the file cannot be verified; 
routing to failure", new Object[] {file, flowFile});
+            getLogger().log(levelFileNotFound, "Could not fetch file {} from 
file system for {} because the existence of the file cannot be verified; 
routing to failure",
+                    new Object[] {file, flowFile});
             session.transfer(session.penalize(flowFile), REL_FAILURE);
             return;
         } else if (!Files.exists(filePath)) {

Reply via email to