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
@@ -43,7 +43,7 @@ import rx.subscriptions.CompositeSubscription;
|
||||
*
|
||||
* @author Mattias Markehed - Initial contribution
|
||||
*/
|
||||
@Component(service = DiscoveryService.class, immediate = true, configurationPid = "discovery.minecraft")
|
||||
@Component(service = DiscoveryService.class, configurationPid = "discovery.minecraft")
|
||||
public class MinecraftDiscoveryService extends AbstractDiscoveryService {
|
||||
|
||||
private final Logger logger = LoggerFactory.getLogger(MinecraftDiscoveryService.class);
|
||||
|
||||
@@ -33,7 +33,7 @@ import org.osgi.service.component.annotations.Component;
|
||||
*
|
||||
* @author Mattias Markehed - Initial contribution
|
||||
*/
|
||||
@Component(immediate = true)
|
||||
@Component
|
||||
public class MinecraftMDNSDiscoveryParticipant implements MDNSDiscoveryParticipant {
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user