@Override
  public boolean equalsExceptActions(Object obj) {
    if (!(obj instanceof TablePermission)) {
      return false;
    }
    TablePermission other = (TablePermission) obj;
    return tableFieldsEqual(other);
  }
Check if fields of table in table permission equals.
@param tp to be checked table permission
@return true if equals, false otherwise
hbase-client/src/main/java/org/apache/hadoop/hbase/security/access/TablePermission.java