Program: 118004
Project: 118004
Buggy source:
@Override protected void refreshCondensedImage(AbstractInOutTable absTable,String option,Object previousValue){
  InputTable table=(InputTable)absTable;
  if (LOOKUP_MODEL_SETTING.equals(option)) {
    if (table.getLookupMode().equals(mapperManager.getDefaultSetting().get(LOOKUP_MODEL_SETTING))) {
      if (changedOptions > 0) {
        changedOptions--;
      }
    }
 else     if (mapperManager.getDefaultSetting().get(LOOKUP_MODEL_SETTING).equals(previousValue)) {
      if (changedOptions < 6) {
        changedOptions++;
      }
    }
  }
 else   if (MATCH_MODEL_SETTING.equals(option)) {
    IUIMatchingMode matchingMode=table.getMatchingMode();
    Object object=mapperManager.getDefaultSetting().get(MATCH_MODEL_SETTING);
    if (object instanceof IUIMatchingMode[]) {
      IUIMatchingMode[] modes=(IUIMatchingMode[])object;
      if (modes.length == 2) {
        if (modes[0].equals(matchingMode) || modes[1].equals(matchingMode)) {
          if (changedOptions > 0) {
            changedOptions--;
          }
        }
 else         if (modes[0].equals(previousValue) || modes[1].equals(previousValue)) {
          if (changedOptions < 6) {
            changedOptions++;
          }
        }
      }
    }
  }
 else   if (JOIN_MODEL_SETTING.equals(option)) {
    if (Boolean.valueOf(table.isInnerJoin()).equals(mapperManager.getDefaultSetting().get(JOIN_MODEL_SETTING))) {
      if (changedOptions > 0) {
        changedOptions--;
      }
    }
 else     if (mapperManager.getDefaultSetting().get(JOIN_MODEL_SETTING).equals(previousValue)) {
      if (changedOptions < 6) {
        changedOptions++;
      }
    }
  }
 else   if (PERSISTENCE_MODEL_SETTING.equals(option)) {
    if (Boolean.valueOf(table.isPersistent()).equals(mapperManager.getDefaultSetting().get(PERSISTENCE_MODEL_SETTING))) {
      if (changedOptions > 0) {
        changedOptions--;
      }
    }
 else     if (mapperManager.getDefaultSetting().get(PERSISTENCE_MODEL_SETTING).equals(previousValue)) {
      if (changedOptions < 6) {
        changedOptions++;
      }
    }
  }
 else   if (SCHEMA_TYPE.equals(option)) {
    if (mapperManager.getDefaultSetting().get(SCHEMA_TYPE).equals(table.isRepository())) {
      if (changedOptions > 0) {
        changedOptions--;
      }
    }
 else     if (mapperManager.getDefaultSetting().get(SCHEMA_TYPE).equals(previousValue)) {
      if (changedOptions < 6) {
        changedOptions++;
      }
    }
  }
 else   if (SCHEMA_ID.equals(option)) {
    if (mapperManager.getDefaultSetting().get(SCHEMA_ID) == table.getId()) {
      if (changedOptions > 0) {
        changedOptions--;
      }
    }
 else     if (mapperManager.getDefaultSetting().get(SCHEMA_ID) == previousValue) {
      if (changedOptions < 6) {
        changedOptions++;
      }
    }
  }
  condensedItem.setImage(ImageProviderMapper.getImage(getCondencedItemImage(changedOptions)));
}

Fixed version (ground truth):
@Override protected void refreshCondensedImage(AbstractInOutTable absTable,String option,Object previousValue){
  InputTable table=(InputTable)absTable;
  if (LOOKUP_MODEL_SETTING.equals(option)) {
    if (table.getLookupMode().equals(mapperManager.getDefaultSetting().get(LOOKUP_MODEL_SETTING))) {
      if (changedOptions > 0) {
        changedOptions--;
      }
    }
 else     if (mapperManager.getDefaultSetting().get(LOOKUP_MODEL_SETTING).equals(previousValue)) {
      if (changedOptions < 6) {
        changedOptions++;
      }
    }
  }
 else   if (MATCH_MODEL_SETTING.equals(option)) {
    IUIMatchingMode matchingMode=table.getMatchingMode();
    Object object=mapperManager.getDefaultSetting().get(MATCH_MODEL_SETTING);
    if (object instanceof IUIMatchingMode[]) {
      IUIMatchingMode[] modes=(IUIMatchingMode[])object;
      if (modes.length == 2) {
        if (modes[0].equals(matchingMode) || modes[1].equals(matchingMode)) {
          if (changedOptions > 0) {
            changedOptions--;
          }
        }
 else         if (modes[0].equals(previousValue) || modes[1].equals(previousValue)) {
          if (changedOptions < 6) {
            changedOptions++;
          }
        }
      }
    }
  }
 else   if (JOIN_MODEL_SETTING.equals(option)) {
    if (Boolean.valueOf(table.isInnerJoin()).equals(mapperManager.getDefaultSetting().get(JOIN_MODEL_SETTING))) {
      if (changedOptions > 0) {
        changedOptions--;
      }
    }
 else     if (mapperManager.getDefaultSetting().get(JOIN_MODEL_SETTING).equals(previousValue)) {
      if (changedOptions < 6) {
        changedOptions++;
      }
    }
  }
 else   if (PERSISTENCE_MODEL_SETTING.equals(option)) {
    if (Boolean.valueOf(table.isPersistent()).equals(mapperManager.getDefaultSetting().get(PERSISTENCE_MODEL_SETTING))) {
      if (changedOptions > 0) {
        changedOptions--;
      }
    }
 else     if (mapperManager.getDefaultSetting().get(PERSISTENCE_MODEL_SETTING).equals(previousValue)) {
      if (changedOptions < 6) {
        changedOptions++;
      }
    }
  }
 else   if (SCHEMA_TYPE.equals(option)) {
    if (mapperManager.getDefaultSetting().get(SCHEMA_TYPE).equals(table.isRepository())) {
      if (changedOptions > 0) {
        changedOptions--;
      }
    }
 else     if (mapperManager.getDefaultSetting().get(SCHEMA_TYPE).equals(previousValue)) {
      if (changedOptions < 6) {
        changedOptions++;
      }
    }
  }
 else   if (SCHEMA_ID.equals(option)) {
    if (mapperManager.getDefaultSetting().get(SCHEMA_ID) == table.getId()) {
      if (changedOptions > 0) {
        changedOptions--;
      }
    }
 else     if (mapperManager.getDefaultSetting().get(SCHEMA_ID) == previousValue) {
      if (changedOptions < 6) {
        changedOptions++;
      }
    }
  }
  condensedItem.setImage(ImageProviderMapper.getImage(getCondencedItemImage(changedOptions)));
  if (!getInputTable().isMainConnection()) {
    checkLookupTableProblems(mapperManager.isTableHasAtLeastOneHashKey(table));
  }
}