From 46f8693bc6e906d66326e48233e139924648b904 Mon Sep 17 00:00:00 2001 From: Pierre Villard Date: Tue, 3 May 2016 11:36:19 +0200 Subject: [PATCH] NIFI-1773 NIFI-1774 fixed typo/annotation NIFI-1774 undid the change from OnConfigured to OnEnabled This closes #406 --- .../org/apache/nifi/controller/AbstractControllerService.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/nifi-api/src/main/java/org/apache/nifi/controller/AbstractControllerService.java b/nifi-api/src/main/java/org/apache/nifi/controller/AbstractControllerService.java index 2d9a1f3538..a08a42d7bd 100644 --- a/nifi-api/src/main/java/org/apache/nifi/controller/AbstractControllerService.java +++ b/nifi-api/src/main/java/org/apache/nifi/controller/AbstractControllerService.java @@ -18,6 +18,7 @@ package org.apache.nifi.controller; import java.util.Map; +import org.apache.nifi.annotation.lifecycle.OnEnabled; import org.apache.nifi.components.AbstractConfigurableComponent; import org.apache.nifi.components.PropertyDescriptor; import org.apache.nifi.components.PropertyValue; @@ -81,7 +82,7 @@ public abstract class AbstractControllerService extends AbstractConfigurableComp /** * Provides a mechanism by which subclasses can perform initialization of - * the Reporting Task before it is scheduled to be run + * the Controller Service before it is scheduled to be run * * @param config of initialization context * @throws InitializationException if unable to init