mirror of https://github.com/apache/nifi.git
NIFI-1892: Marked method arguments as final so that they can be referenced in inner classes
This commit is contained in:
parent
17c5496c04
commit
a81c204565
|
@ -320,7 +320,7 @@ public class StandardProcessorTestRunner implements TestRunner {
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void assertAllFlowFilesContainAttribute(String attributeName) {
|
public void assertAllFlowFilesContainAttribute(final String attributeName) {
|
||||||
assertAllFlowFiles(new FlowFileValidator() {
|
assertAllFlowFiles(new FlowFileValidator() {
|
||||||
@Override
|
@Override
|
||||||
public void assertFlowFile(FlowFile f) {
|
public void assertFlowFile(FlowFile f) {
|
||||||
|
@ -330,7 +330,7 @@ public class StandardProcessorTestRunner implements TestRunner {
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void assertAllFlowFilesContainAttribute(Relationship relationship, String attributeName) {
|
public void assertAllFlowFilesContainAttribute(final Relationship relationship, final String attributeName) {
|
||||||
assertAllFlowFiles(relationship, new FlowFileValidator() {
|
assertAllFlowFiles(relationship, new FlowFileValidator() {
|
||||||
@Override
|
@Override
|
||||||
public void assertFlowFile(FlowFile f) {
|
public void assertFlowFile(FlowFile f) {
|
||||||
|
@ -869,10 +869,12 @@ public class StandardProcessorTestRunner implements TestRunner {
|
||||||
return controllerServiceStateManagers.get(controllerService.getIdentifier());
|
return controllerServiceStateManagers.get(controllerService.getIdentifier());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
public MockProcessorLog getLogger() {
|
public MockProcessorLog getLogger() {
|
||||||
return logger;
|
return logger;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
public MockProcessorLog getControllerServiceLogger(final String identifier) {
|
public MockProcessorLog getControllerServiceLogger(final String identifier) {
|
||||||
return controllerServiceLoggers.get(identifier);
|
return controllerServiceLoggers.get(identifier);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue