Clean up PeerTrackerInformation 16/78516/3
authorRobert Varga <robert.varga@pantheon.tech>
Wed, 5 Dec 2018 14:05:00 +0000 (15:05 +0100)
committerRobert Varga <nite@hq.sk>
Fri, 7 Dec 2018 10:03:13 +0000 (10:03 +0000)
Fix documentation and add a final qualifier.

Change-Id: I19446071c07b1613629501f137b6db90cc9daeeb
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
bgp/rib-spi/src/main/java/org/opendaylight/protocol/bgp/rib/spi/PeerTrackerInformation.java

index 797ac8cc185fd139cd85f9475f005909f3e0a3e6..c838d09bfabb1452589032ef91278e6aaf44cc17 100644 (file)
@@ -38,7 +38,7 @@ public interface PeerTrackerInformation {
      * @param tableKey table
      * @return true if Additional Path is supported for defined table
      */
-    default boolean supportsAddPathSupported(@Nonnull TablesKey tableKey) {
+    default boolean supportsAddPathSupported(@Nonnull final TablesKey tableKey) {
         final SendReceive sendReceive = getSupportedAddPathTables(tableKey);
         return sendReceive != null && (sendReceive.equals(SendReceive.Both) || sendReceive.equals(SendReceive.Receive));
     }
@@ -53,7 +53,7 @@ public interface PeerTrackerInformation {
     SendReceive getSupportedAddPathTables(@Nonnull TablesKey tableKey);
 
     /**
-     * Returns if peer supports table.
+     * Returns true if peer supports table.
      *
      * @param tableKey table
      * @return true if Additional Path is supported for defined table