NIFI-3553 added final keyword for java 7 compatibility Signed-off-by: Joe Skora <jsk...@apache.org>
Project: http://git-wip-us.apache.org/repos/asf/nifi/repo Commit: http://git-wip-us.apache.org/repos/asf/nifi/commit/b69b3b6c Tree: http://git-wip-us.apache.org/repos/asf/nifi/tree/b69b3b6c Diff: http://git-wip-us.apache.org/repos/asf/nifi/diff/b69b3b6c Branch: refs/heads/support/nifi-0.7.x Commit: b69b3b6c622d27544df70e157f8d8b1531a881c6 Parents: c1e65f9 Author: Mike Moser <mose...@apache.org> Authored: Fri Apr 21 19:00:53 2017 +0000 Committer: Joe Skora <jsk...@apache.org> Committed: Thu Apr 27 14:59:38 2017 -0400 ---------------------------------------------------------------------- .../org/apache/nifi/processors/standard/FetchFileTransfer.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/nifi/blob/b69b3b6c/nifi-nar-bundles/nifi-standard-bundle/nifi-standard-processors/src/main/java/org/apache/nifi/processors/standard/FetchFileTransfer.java ---------------------------------------------------------------------- diff --git a/nifi-nar-bundles/nifi-standard-bundle/nifi-standard-processors/src/main/java/org/apache/nifi/processors/standard/FetchFileTransfer.java b/nifi-nar-bundles/nifi-standard-bundle/nifi-standard-processors/src/main/java/org/apache/nifi/processors/standard/FetchFileTransfer.java index 6182b0a..92106ae 100644 --- a/nifi-nar-bundles/nifi-standard-bundle/nifi-standard-processors/src/main/java/org/apache/nifi/processors/standard/FetchFileTransfer.java +++ b/nifi-nar-bundles/nifi-standard-bundle/nifi-standard-processors/src/main/java/org/apache/nifi/processors/standard/FetchFileTransfer.java @@ -222,7 +222,7 @@ public abstract class FetchFileTransfer extends AbstractProcessor { } // we have a queue of FileTransfer Objects. Get one from the queue or create a new one. - FileTransfer transfer; + final FileTransfer transfer; FileTransferIdleWrapper transferWrapper = transferQueue.poll(); if (transferWrapper == null) { transfer = createFileTransfer(context);