Program: 50567
Project: 50567
Buggy source:
void sbCharacters(String s){
  if (currentList.equals("String_Node_Str")) {
    if (currentElement.equalsIgnoreCase("String_Node_Str")) {
      m.setName(s);
    }
 else     if (currentElement.equalsIgnoreCase("String_Node_Str")) {
      m.setAmount(Double.parseDouble(s));
    }
 else     if (currentElement.equalsIgnoreCase("String_Node_Str")) {
      m.setPppg(Double.parseDouble(s));
    }
 else     if (currentElement.equalsIgnoreCase("String_Node_Str")) {
      m.setCost(s);
    }
 else     if (currentElement.equalsIgnoreCase("String_Node_Str")) {
      m.setUnits(s);
    }
 else     if (currentElement.equalsIgnoreCase("String_Node_Str")) {
      m.setLov(Double.parseDouble(s));
    }
 else     if (currentElement.equalsIgnoreCase("String_Node_Str")) {
      m.setDescription(s);
    }
  }
 else   if (currentList.equalsIgnoreCase("String_Node_Str")) {
    if (currentElement.equalsIgnoreCase("String_Node_Str")) {
      h.setName(s);
    }
 else     if (currentElement.equalsIgnoreCase("String_Node_Str")) {
      h.setAmount(Double.parseDouble(s));
    }
 else     if (currentElement.equalsIgnoreCase("String_Node_Str")) {
      h.setAlpha(Double.parseDouble(s));
    }
 else     if (currentElement.equalsIgnoreCase("String_Node_Str")) {
      h.setUnits(s);
    }
 else     if (currentElement.equalsIgnoreCase("String_Node_Str")) {
      h.setType(s);
    }
 else     if (currentElement.equalsIgnoreCase("String_Node_Str")) {
      h.setCost(s);
    }
 else     if (currentElement.equalsIgnoreCase("String_Node_Str")) {
      h.setAdd(s);
    }
 else     if (currentElement.equalsIgnoreCase("String_Node_Str")) {
      h.setDescription(s);
    }
 else     if (currentElement.equalsIgnoreCase("String_Node_Str")) {
      h.setMinutes(Integer.parseInt(s));
    }
  }
 else   if (currentList.equalsIgnoreCase("String_Node_Str")) {
    if (currentElement.equalsIgnoreCase("String_Node_Str")) {
      misc.setName(s);
    }
 else     if (currentElement.equalsIgnoreCase("String_Node_Str")) {
      misc.setAmount(Double.parseDouble(s));
    }
 else     if (currentElement.equalsIgnoreCase("String_Node_Str")) {
      misc.setUnits(s);
    }
 else     if (currentElement.equalsIgnoreCase("String_Node_Str")) {
      misc.setComments(s);
    }
 else     if (currentElement.equalsIgnoreCase("String_Node_Str")) {
    }
 else     if (currentElement.equalsIgnoreCase("String_Node_Str")) {
      h.setAdd(s);
    }
 else     if (currentElement.equalsIgnoreCase("String_Node_Str")) {
      misc.setDescription(s);
    }
 else     if (currentElement.equalsIgnoreCase("String_Node_Str")) {
      misc.setTime(Integer.parseInt(s));
    }
 else     if (currentElement.equalsIgnoreCase("String_Node_Str")) {
      misc.setStage(s);
    }
  }
 else   if (currentList.equalsIgnoreCase("String_Node_Str")) {
    if (currentElement.equalsIgnoreCase("String_Node_Str")) {
      type=s;
    }
 else     if (currentElement.equalsIgnoreCase("String_Node_Str")) {
      startTemp=Double.parseDouble(s);
    }
 else     if (currentElement.equalsIgnoreCase("String_Node_Str")) {
      method=s;
    }
 else     if (currentElement.equalsIgnoreCase("String_Node_Str")) {
      minutes=Integer.parseInt(s);
    }
 else     if (currentElement.equalsIgnoreCase("String_Node_Str")) {
      endTemp=Double.parseDouble(s);
    }
 else     if (currentElement.equalsIgnoreCase("String_Node_Str")) {
      rampMin=Integer.parseInt(s);
    }
  }
 else   if (currentList.equalsIgnoreCase("String_Node_Str")) {
    if (currentElement.equalsIgnoreCase("String_Node_Str")) {
      r.setName(s);
    }
 else     if (currentElement.equalsIgnoreCase("String_Node_Str")) {
      r.setEfficiency(Double.parseDouble(s));
    }
 else     if (currentElement.equalsIgnoreCase("String_Node_Str")) {
      r.setAttenuation(Double.parseDouble(s));
    }
 else     if (currentElement.equalsIgnoreCase("String_Node_Str")) {
      r.setPreBoil(Double.parseDouble(s));
    }
 else     if (currentElement.equalsIgnoreCase("String_Node_Str")) {
      r.setPostBoil(Double.parseDouble(s));
    }
 else     if (currentElement.equalsIgnoreCase("String_Node_Str")) {
      r.setPreBoilVolUnits(s);
      r.setPostBoilVolUnits(s);
    }
 else     if (currentElement.equalsIgnoreCase("String_Node_Str")) {
      r.setStyle(s);
    }
 else     if (currentElement.equalsIgnoreCase("String_Node_Str")) {
      r.setBoilMinutes(Integer.parseInt(s));
    }
 else     if (currentElement.equalsIgnoreCase("String_Node_Str")) {
      r.setHopsUnits(s);
    }
 else     if (currentElement.equalsIgnoreCase("String_Node_Str")) {
      r.setMaltUnits(s);
    }
 else     if (currentElement.equalsIgnoreCase("String_Node_Str")) {
      r.setMashRatio(Double.parseDouble(s));
    }
 else     if (currentElement.equalsIgnoreCase("String_Node_Str")) {
      r.setMashRatioU(s);
    }
 else     if (currentElement.equalsIgnoreCase("String_Node_Str")) {
      r.setBrewer(s);
    }
 else     if (currentElement.equalsIgnoreCase("String_Node_Str")) {
      r.setMashed(Boolean.valueOf(s).booleanValue());
    }
 else     if (currentElement.equalsIgnoreCase("String_Node_Str")) {
      r.setYeastName(s);
    }
  }
 else   s="String_Node_Str";
}

Fixed version (ground truth):
void sbCharacters(String s){
  if (currentList.equals("String_Node_Str")) {
    if (currentElement.equalsIgnoreCase("String_Node_Str")) {
      m.setName(s);
    }
 else     if (currentElement.equalsIgnoreCase("String_Node_Str")) {
      m.setAmount(Double.parseDouble(s));
    }
 else     if (currentElement.equalsIgnoreCase("String_Node_Str")) {
      m.setPppg(Double.parseDouble(s));
    }
 else     if (currentElement.equalsIgnoreCase("String_Node_Str")) {
      m.setCost(s);
    }
 else     if (currentElement.equalsIgnoreCase("String_Node_Str")) {
      m.setUnits(s);
    }
 else     if (currentElement.equalsIgnoreCase("String_Node_Str")) {
      m.setLov(Double.parseDouble(s));
    }
 else     if (currentElement.equalsIgnoreCase("String_Node_Str")) {
      m.setDescription(s);
    }
  }
 else   if (currentList.equalsIgnoreCase("String_Node_Str")) {
    if (currentElement.equalsIgnoreCase("String_Node_Str")) {
      h.setName(s);
    }
 else     if (currentElement.equalsIgnoreCase("String_Node_Str")) {
      h.setAmount(Double.parseDouble(s));
    }
 else     if (currentElement.equalsIgnoreCase("String_Node_Str")) {
      h.setAlpha(Double.parseDouble(s));
    }
 else     if (currentElement.equalsIgnoreCase("String_Node_Str")) {
      h.setUnits(s);
    }
 else     if (currentElement.equalsIgnoreCase("String_Node_Str")) {
      h.setType(s);
    }
 else     if (currentElement.equalsIgnoreCase("String_Node_Str")) {
      h.setCost(s);
    }
 else     if (currentElement.equalsIgnoreCase("String_Node_Str")) {
      h.setAdd(s);
    }
 else     if (currentElement.equalsIgnoreCase("String_Node_Str")) {
      descrBuf=descrBuf + s;
    }
 else     if (currentElement.equalsIgnoreCase("String_Node_Str")) {
      h.setMinutes(Integer.parseInt(s));
    }
  }
 else   if (currentList.equalsIgnoreCase("String_Node_Str")) {
    if (currentElement.equalsIgnoreCase("String_Node_Str")) {
      misc.setName(s);
    }
 else     if (currentElement.equalsIgnoreCase("String_Node_Str")) {
      misc.setAmount(Double.parseDouble(s));
    }
 else     if (currentElement.equalsIgnoreCase("String_Node_Str")) {
      misc.setUnits(s);
    }
 else     if (currentElement.equalsIgnoreCase("String_Node_Str")) {
      misc.setComments(s);
    }
 else     if (currentElement.equalsIgnoreCase("String_Node_Str")) {
    }
 else     if (currentElement.equalsIgnoreCase("String_Node_Str")) {
      h.setAdd(s);
    }
 else     if (currentElement.equalsIgnoreCase("String_Node_Str")) {
      misc.setDescription(s);
    }
 else     if (currentElement.equalsIgnoreCase("String_Node_Str")) {
      misc.setTime(Integer.parseInt(s));
    }
 else     if (currentElement.equalsIgnoreCase("String_Node_Str")) {
      misc.setStage(s);
    }
  }
 else   if (currentList.equalsIgnoreCase("String_Node_Str")) {
    if (currentElement.equalsIgnoreCase("String_Node_Str")) {
      type=s;
    }
 else     if (currentElement.equalsIgnoreCase("String_Node_Str")) {
      startTemp=Double.parseDouble(s);
    }
 else     if (currentElement.equalsIgnoreCase("String_Node_Str")) {
      method=s;
    }
 else     if (currentElement.equalsIgnoreCase("String_Node_Str")) {
      minutes=Integer.parseInt(s);
    }
 else     if (currentElement.equalsIgnoreCase("String_Node_Str")) {
      endTemp=Double.parseDouble(s);
    }
 else     if (currentElement.equalsIgnoreCase("String_Node_Str")) {
      rampMin=Integer.parseInt(s);
    }
  }
 else   if (currentList.equalsIgnoreCase("String_Node_Str")) {
    if (currentElement.equalsIgnoreCase("String_Node_Str")) {
      r.setName(s);
    }
 else     if (currentElement.equalsIgnoreCase("String_Node_Str")) {
      r.setEfficiency(Double.parseDouble(s));
    }
 else     if (currentElement.equalsIgnoreCase("String_Node_Str")) {
      r.setAttenuation(Double.parseDouble(s));
    }
 else     if (currentElement.equalsIgnoreCase("String_Node_Str")) {
      r.setPreBoil(Double.parseDouble(s));
    }
 else     if (currentElement.equalsIgnoreCase("String_Node_Str")) {
      r.setPostBoil(Double.parseDouble(s));
    }
 else     if (currentElement.equalsIgnoreCase("String_Node_Str")) {
      r.setPreBoilVolUnits(s);
      r.setPostBoilVolUnits(s);
    }
 else     if (currentElement.equalsIgnoreCase("String_Node_Str")) {
      r.setStyle(s);
    }
 else     if (currentElement.equalsIgnoreCase("String_Node_Str")) {
      r.setBoilMinutes(Integer.parseInt(s));
    }
 else     if (currentElement.equalsIgnoreCase("String_Node_Str")) {
      r.setHopsUnits(s);
    }
 else     if (currentElement.equalsIgnoreCase("String_Node_Str")) {
      r.setMaltUnits(s);
    }
 else     if (currentElement.equalsIgnoreCase("String_Node_Str")) {
      r.setMashRatio(Double.parseDouble(s));
    }
 else     if (currentElement.equalsIgnoreCase("String_Node_Str")) {
      r.setMashRatioU(s);
    }
 else     if (currentElement.equalsIgnoreCase("String_Node_Str")) {
      r.setBrewer(s);
    }
 else     if (currentElement.equalsIgnoreCase("String_Node_Str")) {
      r.setMashed(Boolean.valueOf(s).booleanValue());
    }
 else     if (currentElement.equalsIgnoreCase("String_Node_Str")) {
      r.setYeastName(s);
    }
  }
 else   s="String_Node_Str";
}