NIFI-1738 hot patch to fix reflection mistake that was made while modifying @jvwing test

This commit is contained in:
Oleg Zhurakousky 2016-04-18 08:59:44 -04:00
parent 5e55a543eb
commit 5b2490f1e8
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}