Remove a superfluous service specification 25/96725/1
authorRobert Varga <robert.varga@pantheon.tech>
Wed, 30 Jun 2021 08:37:17 +0000 (10:37 +0200)
committerRobert Varga <robert.varga@pantheon.tech>
Wed, 30 Jun 2021 08:38:02 +0000 (10:38 +0200)
DefaultRSVPExtensionConsumerContext directly implements the service,
there is no point in spelling it out.

Change-Id: Ie97a021375d1db9017416764e7d337babc5b5800
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
rsvp/spi/src/main/java/org/opendaylight/protocol/rsvp/parser/spi/pojo/DefaultRSVPExtensionConsumerContext.java

index 65e702c72bcc343951ea4873421bf62a773729b5..b2d73cbb36ff8cc15bbeb6815be6b6917cb21f3a 100644 (file)
@@ -33,7 +33,7 @@ import org.osgi.service.component.annotations.ReferencePolicyOption;
  * Starts and stops {@link RSVPExtensionProviderActivator} instances for an {@link RSVPExtensionProviderContext}.
  */
 @Singleton
-@Component(immediate = true, service = RSVPExtensionConsumerContext.class)
+@Component(immediate = true)
 @MetaInfServices
 public final class DefaultRSVPExtensionConsumerContext implements RSVPExtensionConsumerContext {
     private final @NonNull SimpleRSVPExtensionProviderContext delegate = new SimpleRSVPExtensionProviderContext();