* 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);
}
return Set.of(createSubscription);
}
- @SuppressWarnings("checkstyle:IllegalCatch")
@Override
public void close() {
createSubscription.close();