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
@@ -44,7 +44,7 @@ import com.google.gson.Gson;
|
||||
@Provider
|
||||
@Produces(MediaType.APPLICATION_JSON)
|
||||
@Consumes(MediaType.APPLICATION_JSON)
|
||||
@Component(immediate = true)
|
||||
@Component
|
||||
public class GsonProvider<T> implements MessageBodyReader<T>, MessageBodyWriter<T> {
|
||||
|
||||
private final Gson gson;
|
||||
|
||||
@@ -36,7 +36,7 @@ import org.slf4j.LoggerFactory;
|
||||
*
|
||||
* @author Gregory Moyer - Initial contribution
|
||||
*/
|
||||
@Component(immediate = true)
|
||||
@Component
|
||||
public class LaMetricTimeDiscoveryParticipant implements UpnpDiscoveryParticipant {
|
||||
|
||||
private Logger logger = LoggerFactory.getLogger(LaMetricTimeDiscoveryParticipant.class);
|
||||
|
||||
Reference in New Issue
Block a user