From 5b2490f1e87505526a410a65e4b35e068a725000 Mon Sep 17 00:00:00 2001 From: Oleg Zhurakousky Date: Mon, 18 Apr 2016 08:59:44 -0400 Subject: [PATCH] NIFI-1738 hot patch to fix reflection mistake that was made while modifying @jvwing test --- .../nifi/controller/TestControllerStatusReportingTask.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nifi-nar-bundles/nifi-standard-bundle/nifi-standard-reporting-tasks/src/test/java/org/apache/nifi/controller/TestControllerStatusReportingTask.java b/nifi-nar-bundles/nifi-standard-bundle/nifi-standard-reporting-tasks/src/test/java/org/apache/nifi/controller/TestControllerStatusReportingTask.java index 30092a11d6..9aca0edb4e 100644 --- a/nifi-nar-bundles/nifi-standard-bundle/nifi-standard-reporting-tasks/src/test/java/org/apache/nifi/controller/TestControllerStatusReportingTask.java +++ b/nifi-nar-bundles/nifi-standard-bundle/nifi-standard-reporting-tasks/src/test/java/org/apache/nifi/controller/TestControllerStatusReportingTask.java @@ -39,7 +39,7 @@ public class TestControllerStatusReportingTask { } private static Logger getLogger(String fieldName) throws Exception { - Field f = ControllerStatusReportingTask.class.getField(fieldName); + Field f = ControllerStatusReportingTask.class.getDeclaredField(fieldName); f.setAccessible(true); return (Logger) f.get(null); }