Fix documentation and add a final qualifier.
Change-Id: I19446071c07b1613629501f137b6db90cc9daeeb
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
* @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));
}
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