Remove bogus suppression 76/90976/1
authorRobert Varga <robert.varga@pantheon.tech>
Wed, 8 Jul 2020 08:57:12 +0000 (10:57 +0200)
committerRobert Varga <robert.varga@pantheon.tech>
Wed, 8 Jul 2020 08:57:38 +0000 (10:57 +0200)
checkstyle:MissingSwitchDefault is no longer relevant here, remove
the suppression.

Change-Id: I7eea2b4b303a14160d461df52efd0f47afa26b5f
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
netconf/mdsal-netconf-notification/src/main/java/org/opendaylight/netconf/mdsal/notification/impl/SessionNotificationProducer.java

index d5bb772f5356b6991c4d6897e55ef731df275b8b..c05cb18e874f4cea60756436ed99339dd0228cf8 100644 (file)
@@ -33,12 +33,10 @@ import org.slf4j.LoggerFactory;
  * Listens on changes in NetconfState/Sessions/Session datastore and publishes them.
  */
 public class SessionNotificationProducer extends OperationalDatastoreListener<Session> {
-
     private static final InstanceIdentifier<Session> SESSION_INSTANCE_IDENTIFIER =
             InstanceIdentifier.create(NetconfState.class).child(Sessions.class).child(Session.class);
     private static final Logger LOG = LoggerFactory.getLogger(SessionNotificationProducer.class);
 
-
     private final BaseNotificationPublisherRegistration baseNotificationPublisherRegistration;
     private final ListenerRegistration<?> sessionListenerRegistration;
 
@@ -50,7 +48,6 @@ public class SessionNotificationProducer extends OperationalDatastoreListener<Se
         this.sessionListenerRegistration = registerOnChanges(dataBroker);
     }
 
-    @SuppressWarnings("checkstyle:MissingSwitchDefault")
     @Override
     public void onDataTreeChanged(final Collection<DataTreeModification<Session>> changes) {
         for (DataTreeModification<Session> change : changes) {
@@ -97,7 +94,6 @@ public class SessionNotificationProducer extends OperationalDatastoreListener<Se
         baseNotificationPublisherRegistration.onSessionEnded(sessionEnd);
     }
 
-
     /**
      * Invoked by blueprint.
      */