Program: 80419
Project: 80419
Buggy source:
protected IocValue parseX(Element element) throws Throwable {
  IocValue iocValue=new IocValue();
  String type=element.getNodeName();
  if (EVN_TAG.equalsIgnoreCase(type)) {
    iocValue.setType(EVN_TAG);
    iocValue.setValue(element.getTextContent());
  }
 else   if (SYS_TAG.equalsIgnoreCase(type)) {
    iocValue.setType(SYS_TAG);
    iocValue.setValue(element.getTextContent());
  }
 else   if (JNDI_TAG.equalsIgnoreCase(type)) {
    iocValue.setType(JNDI_TAG);
    iocValue.setValue(element.getTextContent());
  }
 else   if (JAVA_TAG.equalsIgnoreCase(type)) {
    iocValue.setType(JAVA_TAG);
    iocValue.setValue(element.getTextContent());
  }
 else   if (REFER_TAG.equalsIgnoreCase(type)) {
    iocValue.setType(REFER_TAG);
    iocValue.setValue(element.getTextContent());
  }
 else   if (FILE_TAG.equalsIgnoreCase(type)) {
    iocValue.setType(FILE_TAG);
    iocValue.setValue(element.getTextContent());
  }
 else   if (OBJ_TAG.equalsIgnoreCase(type)) {
    iocValue.setType(REFER_TAG);
    iocValue.setValue(paserBean(element,true));
  }
 else   if (MAP_TAG.equalsIgnoreCase(type)) {
    iocValue.setType(null);
    iocValue.setValue(paserMap(element));
  }
 else   if (LIST_TAG.equalsIgnoreCase(type)) {
    iocValue.setType(null);
    iocValue.setValue(paserCollection(element));
  }
 else   if (ARRAY_TAG.equalsIgnoreCase(type)) {
    iocValue.setType(null);
    iocValue.setValue(paserCollection(element).toArray());
  }
 else   if (SET_TAG.equalsIgnoreCase(type)) {
    iocValue.setType(null);
    Set<Object> set=new HashSet<Object>();
    set.addAll(paserCollection(element));
    iocValue.setValue(set);
  }
 else {
    iocValue.setType(null);
    if (element.getFirstChild() != null)     iocValue.setValue(element.getFirstChild().getTextContent());
  }
  return iocValue;
}

Fixed version (ground truth):
protected IocValue parseX(Element element) throws Throwable {
  IocValue iocValue=new IocValue();
  String type=element.getNodeName();
  if (EVN_TAG.equalsIgnoreCase(type)) {
    iocValue.setType(EVN_TAG);
    iocValue.setValue(element.getTextContent());
  }
 else   if (SYS_TAG.equalsIgnoreCase(type)) {
    iocValue.setType(SYS_TAG);
    iocValue.setValue(element.getTextContent());
  }
 else   if (JNDI_TAG.equalsIgnoreCase(type)) {
    iocValue.setType(JNDI_TAG);
    iocValue.setValue(element.getTextContent());
  }
 else   if (JAVA_TAG.equalsIgnoreCase(type)) {
    iocValue.setType(JAVA_TAG);
    iocValue.setValue(element.getTextContent());
  }
 else   if (REFER_TAG.equalsIgnoreCase(type)) {
    iocValue.setType(REFER_TAG);
    iocValue.setValue(element.getTextContent());
  }
 else   if (FILE_TAG.equalsIgnoreCase(type)) {
    iocValue.setType(FILE_TAG);
    iocValue.setValue(element.getTextContent());
  }
 else   if (APP_TAG.equalsIgnoreCase(type)) {
    iocValue.setType(APP_TAG);
    iocValue.setValue(element.getTextContent());
  }
 else   if (OBJ_TAG.equalsIgnoreCase(type)) {
    iocValue.setType(REFER_TAG);
    iocValue.setValue(paserBean(element,true));
  }
 else   if (MAP_TAG.equalsIgnoreCase(type)) {
    iocValue.setType(null);
    iocValue.setValue(paserMap(element));
  }
 else   if (LIST_TAG.equalsIgnoreCase(type)) {
    iocValue.setType(null);
    iocValue.setValue(paserCollection(element));
  }
 else   if (ARRAY_TAG.equalsIgnoreCase(type)) {
    iocValue.setType(null);
    iocValue.setValue(paserCollection(element).toArray());
  }
 else   if (SET_TAG.equalsIgnoreCase(type)) {
    iocValue.setType(null);
    Set<Object> set=new HashSet<Object>();
    set.addAll(paserCollection(element));
    iocValue.setValue(set);
  }
 else {
    iocValue.setType(null);
    if (element.getFirstChild() != null)     iocValue.setValue(element.getFirstChild().getTextContent());
  }
  return iocValue;
}