From a81c204565715ea36fdb2249f60440e46af0ef0e Mon Sep 17 00:00:00 2001 From: Mark Payne Date: Tue, 17 May 2016 13:31:50 -0400 Subject: [PATCH] NIFI-1892: Marked method arguments as final so that they can be referenced in inner classes --- .../org/apache/nifi/util/StandardProcessorTestRunner.java | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/nifi-mock/src/main/java/org/apache/nifi/util/StandardProcessorTestRunner.java b/nifi-mock/src/main/java/org/apache/nifi/util/StandardProcessorTestRunner.java index edc1f06532..2f62ac214c 100644 --- a/nifi-mock/src/main/java/org/apache/nifi/util/StandardProcessorTestRunner.java +++ b/nifi-mock/src/main/java/org/apache/nifi/util/StandardProcessorTestRunner.java @@ -320,7 +320,7 @@ public class StandardProcessorTestRunner implements TestRunner { } @Override - public void assertAllFlowFilesContainAttribute(String attributeName) { + public void assertAllFlowFilesContainAttribute(final String attributeName) { assertAllFlowFiles(new FlowFileValidator() { @Override public void assertFlowFile(FlowFile f) { @@ -330,7 +330,7 @@ public class StandardProcessorTestRunner implements TestRunner { } @Override - public void assertAllFlowFilesContainAttribute(Relationship relationship, String attributeName) { + public void assertAllFlowFilesContainAttribute(final Relationship relationship, final String attributeName) { assertAllFlowFiles(relationship, new FlowFileValidator() { @Override public void assertFlowFile(FlowFile f) { @@ -869,10 +869,12 @@ public class StandardProcessorTestRunner implements TestRunner { return controllerServiceStateManagers.get(controllerService.getIdentifier()); } + @Override public MockProcessorLog getLogger() { return logger; } + @Override public MockProcessorLog getControllerServiceLogger(final String identifier) { return controllerServiceLoggers.get(identifier); }