Program: 20282
Project: 20282
Buggy source:
public void saveProperties(AppConfig config){
  config.setProperty("String_Node_Str",jtxtMachineHostname.getText());
  LAFInfo laf=(LAFInfo)jcboLAF.getSelectedItem();
  config.setProperty("String_Node_Str",laf == null ? System.getProperty("String_Node_Str","String_Node_Str") : laf.getClassName());
  config.setProperty("String_Node_Str",comboValue(jcboMachineScreenmode.getSelectedItem()));
  config.setProperty("String_Node_Str",comboValue(jcboTicketsBag.getSelectedItem()));
  String sMachinePrinter=comboValue(jcboMachinePrinter.getSelectedItem());
  if ("String_Node_Str".equals(sMachinePrinter) || "String_Node_Str".equals(sMachinePrinter) || "String_Node_Str".equals(sMachinePrinter)|| "String_Node_Str".equals(sMachinePrinter)|| "String_Node_Str".equals(sMachinePrinter)) {
    config.setProperty("String_Node_Str",sMachinePrinter + "String_Node_Str" + comboValue(jcboConnPrinter.getSelectedItem())+ "String_Node_Str"+ comboValue(jcboSerialPrinter.getSelectedItem()));
  }
 else   if ("String_Node_Str".equals(sMachinePrinter)) {
    config.setProperty("String_Node_Str",sMachinePrinter + "String_Node_Str" + m_jtxtJPOSPrinter.getText()+ "String_Node_Str"+ m_jtxtJPOSDrawer.getText());
  }
 else {
    config.setProperty("String_Node_Str",sMachinePrinter);
  }
  String sMachinePrinter2=comboValue(jcboMachinePrinter2.getSelectedItem());
  if ("String_Node_Str".equals(sMachinePrinter2) || "String_Node_Str".equals(sMachinePrinter2) || "String_Node_Str".equals(sMachinePrinter2)|| "String_Node_Str".equals(sMachinePrinter2)|| "String_Node_Str".equals(sMachinePrinter2)) {
    config.setProperty("String_Node_Str",sMachinePrinter2 + "String_Node_Str" + comboValue(jcboConnPrinter2.getSelectedItem())+ "String_Node_Str"+ comboValue(jcboSerialPrinter2.getSelectedItem()));
  }
 else   if ("String_Node_Str".equals(sMachinePrinter2)) {
    config.setProperty("String_Node_Str",sMachinePrinter2 + "String_Node_Str" + m_jtxtJPOSPrinter2.getText()+ "String_Node_Str"+ m_jtxtJPOSDrawer2.getText());
  }
 else {
    config.setProperty("String_Node_Str",sMachinePrinter2);
  }
  String sMachinePrinter3=comboValue(jcboMachinePrinter3.getSelectedItem());
  if ("String_Node_Str".equals(sMachinePrinter3) || "String_Node_Str".equals(sMachinePrinter3) || "String_Node_Str".equals(sMachinePrinter3)|| "String_Node_Str".equals(sMachinePrinter3)|| "String_Node_Str".equals(sMachinePrinter3)) {
    config.setProperty("String_Node_Str",sMachinePrinter3 + "String_Node_Str" + comboValue(jcboConnPrinter3.getSelectedItem())+ "String_Node_Str"+ comboValue(jcboSerialPrinter3.getSelectedItem()));
  }
 else   if ("String_Node_Str".equals(sMachinePrinter3)) {
    config.setProperty("String_Node_Str",sMachinePrinter3 + "String_Node_Str" + m_jtxtJPOSPrinter3.getText()+ "String_Node_Str"+ m_jtxtJPOSDrawer3.getText());
  }
 else {
    config.setProperty("String_Node_Str",sMachinePrinter3);
  }
  String sMachineDisplay=comboValue(jcboMachineDisplay.getSelectedItem());
  if ("String_Node_Str".equals(sMachineDisplay) || "String_Node_Str".equals(sMachineDisplay) || "String_Node_Str".equals(sMachineDisplay)) {
    config.setProperty("String_Node_Str",sMachineDisplay + "String_Node_Str" + comboValue(jcboConnDisplay.getSelectedItem())+ "String_Node_Str"+ comboValue(jcboSerialDisplay.getSelectedItem()));
  }
 else   if ("String_Node_Str".equals(sMachineDisplay)) {
    config.setProperty("String_Node_Str",sMachineDisplay + "String_Node_Str" + m_jtxtJPOSName.getText());
  }
 else {
    config.setProperty("String_Node_Str",sMachineDisplay);
  }
  String sMachineScale=comboValue(jcboMachineScale.getSelectedItem());
  if ("String_Node_Str".equals(sMachineScale) || "String_Node_Str".equals(sMachineScale)) {
    config.setProperty("String_Node_Str",sMachineScale + "String_Node_Str" + comboValue(jcboSerialScale.getSelectedItem()));
  }
 else {
    config.setProperty("String_Node_Str",sMachineScale);
  }
  String sMachineScanner=comboValue(jcboMachineScanner.getSelectedItem());
  if ("String_Node_Str".equals(sMachineScanner)) {
    config.setProperty("String_Node_Str",sMachineScanner + "String_Node_Str" + comboValue(jcboSerialScanner.getSelectedItem()));
  }
 else {
    config.setProperty("String_Node_Str",sMachineScanner);
  }
  config.setProperty("String_Node_Str",comboValue(cboPrinters.getSelectedItem()));
  config.setProperty("String_Node_Str",String.valueOf(m_ReceiptPrinter.isSelected()));
  dirty.setDirty(false);
}

Fixed version (ground truth):
public void saveProperties(AppConfig config){
  config.setProperty("String_Node_Str",uniqueinstance);
  config.setProperty("String_Node_Str",jtxtMachineHostname.getText());
  LAFInfo laf=(LAFInfo)jcboLAF.getSelectedItem();
  config.setProperty("String_Node_Str",laf == null ? System.getProperty("String_Node_Str","String_Node_Str") : laf.getClassName());
  config.setProperty("String_Node_Str",comboValue(jcboMachineScreenmode.getSelectedItem()));
  config.setProperty("String_Node_Str",comboValue(jcboTicketsBag.getSelectedItem()));
  String sMachinePrinter=comboValue(jcboMachinePrinter.getSelectedItem());
  if ("String_Node_Str".equals(sMachinePrinter) || "String_Node_Str".equals(sMachinePrinter) || "String_Node_Str".equals(sMachinePrinter)|| "String_Node_Str".equals(sMachinePrinter)|| "String_Node_Str".equals(sMachinePrinter)) {
    config.setProperty("String_Node_Str",sMachinePrinter + "String_Node_Str" + comboValue(jcboConnPrinter.getSelectedItem())+ "String_Node_Str"+ comboValue(jcboSerialPrinter.getSelectedItem()));
  }
 else   if ("String_Node_Str".equals(sMachinePrinter)) {
    config.setProperty("String_Node_Str",sMachinePrinter + "String_Node_Str" + m_jtxtJPOSPrinter.getText()+ "String_Node_Str"+ m_jtxtJPOSDrawer.getText());
  }
 else {
    config.setProperty("String_Node_Str",sMachinePrinter);
  }
  String sMachinePrinter2=comboValue(jcboMachinePrinter2.getSelectedItem());
  if ("String_Node_Str".equals(sMachinePrinter2) || "String_Node_Str".equals(sMachinePrinter2) || "String_Node_Str".equals(sMachinePrinter2)|| "String_Node_Str".equals(sMachinePrinter2)|| "String_Node_Str".equals(sMachinePrinter2)) {
    config.setProperty("String_Node_Str",sMachinePrinter2 + "String_Node_Str" + comboValue(jcboConnPrinter2.getSelectedItem())+ "String_Node_Str"+ comboValue(jcboSerialPrinter2.getSelectedItem()));
  }
 else   if ("String_Node_Str".equals(sMachinePrinter2)) {
    config.setProperty("String_Node_Str",sMachinePrinter2 + "String_Node_Str" + m_jtxtJPOSPrinter2.getText()+ "String_Node_Str"+ m_jtxtJPOSDrawer2.getText());
  }
 else {
    config.setProperty("String_Node_Str",sMachinePrinter2);
  }
  String sMachinePrinter3=comboValue(jcboMachinePrinter3.getSelectedItem());
  if ("String_Node_Str".equals(sMachinePrinter3) || "String_Node_Str".equals(sMachinePrinter3) || "String_Node_Str".equals(sMachinePrinter3)|| "String_Node_Str".equals(sMachinePrinter3)|| "String_Node_Str".equals(sMachinePrinter3)) {
    config.setProperty("String_Node_Str",sMachinePrinter3 + "String_Node_Str" + comboValue(jcboConnPrinter3.getSelectedItem())+ "String_Node_Str"+ comboValue(jcboSerialPrinter3.getSelectedItem()));
  }
 else   if ("String_Node_Str".equals(sMachinePrinter3)) {
    config.setProperty("String_Node_Str",sMachinePrinter3 + "String_Node_Str" + m_jtxtJPOSPrinter3.getText()+ "String_Node_Str"+ m_jtxtJPOSDrawer3.getText());
  }
 else {
    config.setProperty("String_Node_Str",sMachinePrinter3);
  }
  String sMachineDisplay=comboValue(jcboMachineDisplay.getSelectedItem());
  if ("String_Node_Str".equals(sMachineDisplay) || "String_Node_Str".equals(sMachineDisplay) || "String_Node_Str".equals(sMachineDisplay)) {
    config.setProperty("String_Node_Str",sMachineDisplay + "String_Node_Str" + comboValue(jcboConnDisplay.getSelectedItem())+ "String_Node_Str"+ comboValue(jcboSerialDisplay.getSelectedItem()));
  }
 else   if ("String_Node_Str".equals(sMachineDisplay)) {
    config.setProperty("String_Node_Str",sMachineDisplay + "String_Node_Str" + m_jtxtJPOSName.getText());
  }
 else {
    config.setProperty("String_Node_Str",sMachineDisplay);
  }
  String sMachineScale=comboValue(jcboMachineScale.getSelectedItem());
  if ("String_Node_Str".equals(sMachineScale) || "String_Node_Str".equals(sMachineScale)) {
    config.setProperty("String_Node_Str",sMachineScale + "String_Node_Str" + comboValue(jcboSerialScale.getSelectedItem()));
  }
 else {
    config.setProperty("String_Node_Str",sMachineScale);
  }
  String sMachineScanner=comboValue(jcboMachineScanner.getSelectedItem());
  if ("String_Node_Str".equals(sMachineScanner)) {
    config.setProperty("String_Node_Str",sMachineScanner + "String_Node_Str" + comboValue(jcboSerialScanner.getSelectedItem()));
  }
 else {
    config.setProperty("String_Node_Str",sMachineScanner);
  }
  config.setProperty("String_Node_Str",comboValue(cboPrinters.getSelectedItem()));
  config.setProperty("String_Node_Str",String.valueOf(m_ReceiptPrinter.isSelected()));
  dirty.setDirty(false);
}