Fix various warnings
[netconf.git] / netconf / netconf-util / src / main / java / org / opendaylight / netconf / util / osgi / NetconfConfigurationActivator.java
index 28d820aa896513de333aff1d1d96f6f37df017f7..3c1a9c5cb06083982ae952ce36ba7a678a8a8fcb 100644 (file)
@@ -28,17 +28,17 @@ public class NetconfConfigurationActivator implements BundleActivator {
         PROPS.put(Constants.SERVICE_PID, CONFIG_PID);
     }
 
-    private ServiceRegistration configService;
+    private ServiceRegistration<?> configService;
 
     @Override
-    public void start(BundleContext bundleContext) {
+    public void start(final BundleContext bundleContext) {
         LOG.debug("Starting netconf configuration service");
         configService = bundleContext.registerService(ManagedService.class,
                 new NetconfConfiguration(), PROPS);
     }
 
     @Override
-    public void stop(BundleContext bundleContext) {
+    public void stop(final BundleContext bundleContext) {
         if (configService != null) {
             LOG.debug("Unregistering netconf configuration service");
             configService.unregister();