Checkstyle clean-up: Remove useless "final" in interfaces 27/48627/1
authorMichael Vorburger <vorburger@redhat.com>
Wed, 23 Nov 2016 13:58:24 +0000 (14:58 +0100)
committerMichael Vorburger <vorburger@redhat.com>
Wed, 23 Nov 2016 13:58:24 +0000 (14:58 +0100)
The "final" in interfaces only shows up for me in Eclipse, but doesn't
fail the CLI build; I suspect that is becaues of a slightly different CS
version in-IDE and on CLI; on the next CS upgrade this probably would
have been seen in the build as well, and so it's good to clean it up.

Change-Id: Id235738c1217c32e16c756ad876672b609fd3172
Signed-off-by: Michael Vorburger <vorburger@redhat.com>
library/impl/src/main/java/org/opendaylight/ovsdb/lib/OvsdbClient.java
library/impl/src/main/java/org/opendaylight/ovsdb/lib/OvsdbConnection.java

index 107d75681a7f932e39a82e019d7735d738109c0c..817a0caaad3b25958587f81a556c5eef4e94c864 100644 (file)
@@ -156,8 +156,7 @@ public interface OvsdbClient {
      *            is just interested in getting ColumnSchema.
      * @return Proxy wrapper for the actual raw Row class.
      */
-    <T extends TypedBaseTable<?>> T getTypedRowWrapper(final Class<T> klazz,
-                                                       final Row<GenericTableSchema> row);
+    <T extends TypedBaseTable<?>> T getTypedRowWrapper(Class<T> klazz, Row<GenericTableSchema> row);
 
     boolean isConnectionPublished();
 
index e0793374f75092c073ed2168dffb4fccc5f555d6..6d5a35269f2105f9f837b3a7aade15cdad1cbdba 100644 (file)
@@ -33,7 +33,7 @@ public interface OvsdbConnection {
      * @param port Layer 4 port on which the remote ovsdb server is listening on.
      * @return OvsDBClient The primary Client interface for the ovsdb connection.
      */
-    OvsdbClient connect(final InetAddress address, final int port);
+    OvsdbClient connect(InetAddress address, int port);
 
     /**
      * connect API can be used by the applications to initiate Active ssl
@@ -43,8 +43,7 @@ public interface OvsdbConnection {
      * @param sslContext Netty sslContext for channel configuration
      * @return OvsDBClient The primary Client interface for the ovsdb connection.
      */
-    OvsdbClient connectWithSsl(final InetAddress address, final int port,
-                               final SSLContext sslContext);
+    OvsdbClient connectWithSsl(InetAddress address, int port, SSLContext sslContext);
 
     /**
      * Method to disconnect an existing connection.
@@ -55,13 +54,12 @@ public interface OvsdbConnection {
     /**
      * Method to start ovsdb server for passive connection.
      */
-    boolean startOvsdbManager(final int ovsdbListenPort);
+    boolean startOvsdbManager(int ovsdbListenPort);
 
     /**
      * Method to start ovsdb server for passive connection with SSL.
      */
-    boolean startOvsdbManagerWithSsl(final int ovsdbListenPort,
-                                     final SSLContext sslContext);
+    boolean startOvsdbManagerWithSsl(int ovsdbListenPort, SSLContext sslContext);
 
     /**
      * Method to register a Passive Connection Listener with the ConnectionService.