Fix checkstyle violations in messagebus
[controller.git] / opendaylight / md-sal / messagebus-impl / src / main / java / org / opendaylight / controller / messagebus / app / impl / EventSourceRegistrationImpl.java
index d9390903232fcda81292a24a96768adb6436a5de..dac4f8fee8025afe31778c6908dbdb160047024e 100644 (file)
@@ -7,21 +7,23 @@
  */
 package org.opendaylight.controller.messagebus.app.impl;
 
+import com.google.common.base.Preconditions;
 import org.opendaylight.controller.messagebus.spi.EventSource;
 import org.opendaylight.controller.messagebus.spi.EventSourceRegistration;
 import org.opendaylight.yangtools.concepts.AbstractObjectRegistration;
 
-import com.google.common.base.Preconditions;
-
-
-class EventSourceRegistrationImpl <T extends EventSource> extends AbstractObjectRegistration<T> implements EventSourceRegistration<T>{
+class EventSourceRegistrationImpl<T extends EventSource> extends AbstractObjectRegistration<T>
+        implements EventSourceRegistration<T> {
 
     private final EventSourceTopology eventSourceTopology;
 
     /**
-     * @param instance of EventSource that has been registered by {@link EventSourceRegistryImpl#registerEventSource(Node, EventSource)}
+     * Constructor.
+     *
+     * @param instance of EventSource that has been registered by
+     *     {@link EventSourceRegistryImpl#registerEventSource(Node, EventSource)}
      */
-    public EventSourceRegistrationImpl(T instance, EventSourceTopology eventSourceTopology) {
+    EventSourceRegistrationImpl(T instance, EventSourceTopology eventSourceTopology) {
         super(instance);
         this.eventSourceTopology = Preconditions.checkNotNull(eventSourceTopology);
     }
@@ -30,5 +32,4 @@ class EventSourceRegistrationImpl <T extends EventSource> extends AbstractObject
     protected void removeRegistration() {
         this.eventSourceTopology.unRegister(getInstance());
     }
-
 }