private void checkIfUpdate(int columnIndex){
  if (!oldDuplicateNameColumn.equals(duplicateNameColumn) || !oldDuplicateRoleColumn.equals(duplicateRoleColumn)) {
    Set<Integer> columnsUpdate=new HashSet<Integer>();
    columnsUpdate.addAll(oldDuplicateNameColumn);
    columnsUpdate.addAll(duplicateNameColumn);
    columnsUpdate.addAll(oldDuplicateRoleColumn);
    columnsUpdate.addAll(duplicateRoleColumn);
    fireUpdate(columnsUpdate);
  }
 else   if (!oldColumnErrorList.equals(columnErrorList) || parsingErrorAffectedColumns.contains(columnIndex)) {
    fireUpdate();
  }
}

private void checkIfUpdate ( int columnIndex ) { if ( ! oldDuplicateNameColumn . equals ( duplicateNameColumn ) || ! oldDuplicateRoleColumn . equals ( duplicateRoleColumn ) ) { Set < Integer > columnsUpdate = new HashSet < Integer > ( ) ; columnsUpdate . addAll ( oldDuplicateNameColumn ) ; columnsUpdate . addAll ( duplicateNameColumn ) ; columnsUpdate . addAll ( oldDuplicateRoleColumn ) ; columnsUpdate . addAll ( duplicateRoleColumn ) ; fireUpdate ( columnsUpdate ) ; } else if ( ! oldColumnErrorList . equals ( columnErrorList ) || parsingErrorAffectedColumns . contains ( columnIndex ) ) { fireUpdate ( ) ; } }
checks if an update should be fired . first checks if the sets of duplicate name or role columns have changed . if this is not the case checks if the column errors have changed or if a column changed that has a parsing error .
