Move mdsal-netconf-notification
[netconf.git] / apps / netconf-events-mdsal / src / main / java / org / opendaylight / netconf / server / events / mdsal / NetconfNotificationOperationService.java
@@ -5,17 +5,17 @@
  * terms of the Eclipse Public License v1.0 which accompanies this distribution,
  * and is available at http://www.eclipse.org/legal/epl-v10.html
  */
-package org.opendaylight.netconf.mdsal.notification.impl;
+package org.opendaylight.netconf.server.events.mdsal;
 
 import java.util.Set;
 import org.opendaylight.netconf.mapping.api.NetconfOperation;
 import org.opendaylight.netconf.mapping.api.NetconfOperationService;
 import org.opendaylight.netconf.notifications.NetconfNotificationRegistry;
 
-public final class NetconfNotificationOperationService implements NetconfOperationService {
+final class NetconfNotificationOperationService implements NetconfOperationService {
     private final CreateSubscription createSubscription;
 
-    public NetconfNotificationOperationService(final String netconfSessionIdForReporting,
+    NetconfNotificationOperationService(final String netconfSessionIdForReporting,
             final NetconfNotificationRegistry netconfNotificationRegistry) {
         createSubscription = new CreateSubscription(netconfSessionIdForReporting, netconfNotificationRegistry);
     }
@@ -25,7 +25,6 @@ public final class NetconfNotificationOperationService implements NetconfOperati
         return Set.of(createSubscription);
     }
 
-    @SuppressWarnings("checkstyle:IllegalCatch")
     @Override
     public void close() {
         createSubscription.close();