Fix CS warnings in blueprint and enable enforcement
[controller.git] / opendaylight / blueprint / src / main / java / org / opendaylight / controller / blueprint / ext / NotificationListenerBean.java
index c0931f32c2f0198beade03d2101cac3ca77c828a..ccf6216d3da89e8a037567ccabcdc246415cff40 100644 (file)
@@ -32,6 +32,7 @@ public class NotificationListenerBean {
     public void setNotificationService(NotificationService notificationService) {
         this.notificationService = notificationService;
     }
+
     public void setNotificationListener(NotificationListener notificationListener) {
         this.notificationListener = notificationListener;
     }
@@ -47,7 +48,7 @@ public class NotificationListenerBean {
     }
 
     public void destroy() {
-        if(registration != null) {
+        if (registration != null) {
             LOG.debug("{}: destroy - closing ListenerRegistration {}", bundle.getSymbolicName(), notificationListener);
             registration.close();
         } else {