Mechanical code cleanup (messagebus-spi) 89/46089/3
authorStephen Kitt <skitt@redhat.com>
Thu, 22 Sep 2016 16:28:29 +0000 (18:28 +0200)
committerTom Pantelis <tpanteli@brocade.com>
Fri, 23 Sep 2016 18:30:30 +0000 (18:30 +0000)
* Remove unnecessary type specifiers (use Java 7 <>)
* Remove unnecessary "extends Object" declarations
* Remove unnecessary semi-colons
* Merge identical catch blocks
* Remove redundant modifiers:
  - enum constructors are private by default
  - interface properties are public static final by default
  - interface methods are public abstract by default
  - interfaces are abstract by default
  - inner interfaces are static by default
  - inner classes in interfaces are public static by default

Change-Id: I75e706701f0bd63fd483079aa59ee4da8b88e0e4
Signed-off-by: Stephen Kitt <skitt@redhat.com>
opendaylight/md-sal/messagebus-spi/src/main/java/org/opendaylight/controller/messagebus/spi/EventSourceRegistration.java

index 06af7c12c815f09bfc0ca6185e2601df375a531a..3f7f0c0391205eca94a51f5eecea23d6b1b491b2 100644 (file)
@@ -17,6 +17,6 @@ import org.opendaylight.yangtools.concepts.ObjectRegistration;
 public interface EventSourceRegistration <T extends EventSource> extends ObjectRegistration<T>{
 
     @Override
-    public void close();
+    void close();
 
 }