Clean up PeerTrackerInformation
[bgpcep.git] / 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