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:
Hilbrand Bouwkamp
2020-10-02 05:27:01 +02:00
committed by GitHub
parent f06068a189
commit 003c3af985
153 changed files with 155 additions and 157 deletions

View File

@@ -38,7 +38,7 @@ import org.osgi.service.component.annotations.ReferencePolicy;
* @author Connor Petty - Initial contribution
*/
@NonNullByDefault
@Component(immediate = true, service = { BluetoothDiscoveryParticipant.class })
@Component(service = { BluetoothDiscoveryParticipant.class })
public class RoamingBluetoothDiscoveryParticipant implements BluetoothDiscoveryParticipant {
private final Set<BluetoothAdapter> adapters = new CopyOnWriteArraySet<>();