Remove immediate = true from all Components (#8615)
We recommend not to use this on add-ons. Signed-off-by: Hilbrand Bouwkamp <hilbrand@h72.nl>
This commit is contained in:
committed by
GitHub
parent
f06068a189
commit
003c3af985
@@ -37,7 +37,7 @@ import org.osgi.service.component.annotations.Reference;
|
||||
* @author Wouter Born - Add i18n support
|
||||
*/
|
||||
@NonNullByDefault
|
||||
@Component(service = LifxChannelFactory.class, immediate = true)
|
||||
@Component(service = LifxChannelFactory.class)
|
||||
public class LifxChannelFactoryImpl implements LifxChannelFactory {
|
||||
|
||||
private static final String COLOR_ZONE_LABEL_KEY = "channel-type.lifx.colorzone.label";
|
||||
|
||||
@@ -59,7 +59,7 @@ import org.slf4j.LoggerFactory;
|
||||
* @author Karel Goderis - Rewrite for Firmware V2, and remove dependency on external libraries
|
||||
* @author Wouter Born - Discover light labels, improve locking, optimize packet handling
|
||||
*/
|
||||
@Component(immediate = true, service = DiscoveryService.class, configurationPid = "discovery.lifx")
|
||||
@Component(service = DiscoveryService.class, configurationPid = "discovery.lifx")
|
||||
@NonNullByDefault
|
||||
public class LifxLightDiscovery extends AbstractDiscoveryService {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user