Fix checkstyle in mdsal-binding-dom-codec
[mdsal.git] / binding / mdsal-binding-dom-codec-osgi / src / main / java / org / opendaylight / mdsal / binding / dom / codec / osgi / impl / ModuleInfoBundleTracker.java
index fd93e312d36da82794838b1a4023c51dff69f5d6..460a10a9e325c9cce4c1d347c4cabafb00ccf0af 100644 (file)
@@ -28,7 +28,7 @@ import org.slf4j.Logger;
 import org.slf4j.LoggerFactory;
 
 /**
- * Tracks bundles and attempts to retrieve YangModuleInfo, which is then fed into ModuleInfoRegistry
+ * Tracks bundles and attempts to retrieve YangModuleInfo, which is then fed into ModuleInfoRegistry.
  */
 final class ModuleInfoBundleTracker implements BundleTrackerCustomizer<Collection<ObjectRegistration<YangModuleInfo>>> {
     private static final Logger LOG = LoggerFactory.getLogger(ModuleInfoBundleTracker.class);
@@ -54,6 +54,7 @@ final class ModuleInfoBundleTracker implements BundleTrackerCustomizer<Collectio
     }
 
     @Override
+    @SuppressWarnings("checkstyle:illegalCatch")
     public Collection<ObjectRegistration<YangModuleInfo>> addingBundle(final Bundle bundle, final BundleEvent event) {
         final URL resource = bundle.getEntry(YANG_MODLE_BINDING_PROVIDER_SERVICE);
         if (resource == null) {
@@ -104,6 +105,7 @@ final class ModuleInfoBundleTracker implements BundleTrackerCustomizer<Collectio
     }
 
     @Override
+    @SuppressWarnings("checkstyle:illegalCatch")
     public void removedBundle(final Bundle bundle, final BundleEvent event,
             final Collection<ObjectRegistration<YangModuleInfo>> regs) {
         if (regs == null) {