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
@@ -41,7 +41,7 @@ import org.osgi.service.component.annotations.Component;
|
||||
* @author Thomas Höfer - Added representation
|
||||
*/
|
||||
@NonNullByDefault
|
||||
@Component(service = UpnpDiscoveryParticipant.class, immediate = true)
|
||||
@Component(service = UpnpDiscoveryParticipant.class)
|
||||
public class HueBridgeDiscoveryParticipant implements UpnpDiscoveryParticipant {
|
||||
|
||||
@Override
|
||||
|
||||
@@ -49,7 +49,7 @@ import com.google.gson.reflect.TypeToken;
|
||||
* @author Andre Fuechsel - make {@link #startScan()} asynchronous
|
||||
*/
|
||||
@NonNullByDefault
|
||||
@Component(service = DiscoveryService.class, immediate = true, configurationPid = "discovery.hue")
|
||||
@Component(service = DiscoveryService.class, configurationPid = "discovery.hue")
|
||||
public class HueBridgeNupnpDiscovery extends AbstractDiscoveryService {
|
||||
|
||||
private static final String MODEL_NAME_PHILIPS_HUE = "<modelName>Philips hue";
|
||||
|
||||
Reference in New Issue
Block a user