Program: 139810
Project: 139810
Buggy source:
public ICustomerDataset getCustomerDataset(){
  Map<IndicatorEnum,Double> map=new HashMap<IndicatorEnum,Double>();
  CustomerDefaultCategoryDataset customerdataset=new CustomerDefaultCategoryDataset();
  for (  IndicatorUnit unit : units) {
    if (Java2SqlType.isNumbericInSQL(sqltype)) {
      String value=unit.getValue().toString();
      map.put(unit.getType(),Double.parseDouble(value));
    }
    ChartDataEntity entity=new ChartDataEntity();
    entity.setIndicator(unit.getIndicator());
    entity.setLabel(unit.getType().getLabel());
    entity.setValue(String.valueOf(unit.getValue()));
    customerdataset.addDataEntity(entity);
  }
  if (isIntact()) {
    CustomerDefaultBAWDataset dataset=new CustomerDefaultBAWDataset();
    BoxAndWhiskerItem item=ChartDatasetUtils.createBoxAndWhiskerItem(map.get(IndicatorEnum.MeanIndicatorEnum),map.get(IndicatorEnum.MedianIndicatorEnum),map.get(IndicatorEnum.LowerQuartileIndicatorEnum),map.get(IndicatorEnum.UpperQuartileIndicatorEnum),map.get(IndicatorEnum.MinValueIndicatorEnum),map.get(IndicatorEnum.MaxValueIndicatorEnum),null);
    dataset.add(item,"String_Node_Str","String_Node_Str");
    List zerolist=new ArrayList();
    dataset.add(zerolist,"String_Node_Str","String_Node_Str");
    dataset.add(zerolist,"String_Node_Str","String_Node_Str");
    dataset.add(zerolist,"String_Node_Str","String_Node_Str");
    dataset.add(zerolist,"String_Node_Str","String_Node_Str");
    dataset.add(zerolist,"String_Node_Str","String_Node_Str");
    dataset.add(zerolist,"String_Node_Str","String_Node_Str");
    dataset.addDataEntity(customerdataset.getDataEntities());
    return dataset;
  }
 else {
    for (    IndicatorEnum indicatorEnum : map.keySet()) {
      customerdataset.addValue(map.get(indicatorEnum),"String_Node_Str",indicatorEnum.getLabel());
    }
    return customerdataset;
  }
}

Fixed version (ground truth):
public ICustomerDataset getCustomerDataset(){
  Map<IndicatorEnum,Double> map=new HashMap<IndicatorEnum,Double>();
  CustomerDefaultCategoryDataset customerdataset=new CustomerDefaultCategoryDataset();
  for (  IndicatorUnit unit : units) {
    if (Java2SqlType.isNumbericInSQL(sqltype)) {
      String value=unit.getValue().toString();
      map.put(unit.getType(),Double.parseDouble(value));
    }
    ChartDataEntity entity=new ChartDataEntity();
    entity.setIndicator(unit.getIndicator());
    entity.setLabel(unit.getType().getLabel());
    entity.setValue(String.valueOf(unit.getValue()));
    customerdataset.addDataEntity(entity);
  }
  if (isIntact()) {
    CustomerDefaultBAWDataset dataset=new CustomerDefaultBAWDataset();
    BoxAndWhiskerItem item=ChartDatasetUtils.createBoxAndWhiskerItem(map.get(IndicatorEnum.MeanIndicatorEnum),map.get(IndicatorEnum.MedianIndicatorEnum),map.get(IndicatorEnum.LowerQuartileIndicatorEnum),map.get(IndicatorEnum.UpperQuartileIndicatorEnum),map.get(IndicatorEnum.MinValueIndicatorEnum),map.get(IndicatorEnum.MaxValueIndicatorEnum),null);
    dataset.add(item,"String_Node_Str","String_Node_Str");
    List zerolist=new ArrayList();
    dataset.add(zerolist,"String_Node_Str","String_Node_Str");
    dataset.add(zerolist,"String_Node_Str","String_Node_Str");
    dataset.add(zerolist,"String_Node_Str","String_Node_Str");
    dataset.add(zerolist,"String_Node_Str","String_Node_Str");
    dataset.add(zerolist,"String_Node_Str","String_Node_Str");
    dataset.add(zerolist,"String_Node_Str","String_Node_Str");
    dataset.addDataEntity(customerdataset.getDataEntities());
    return dataset;
  }
 else {
    map.remove(IndicatorEnum.RangeIndicatorEnum);
    map.remove(IndicatorEnum.IQRIndicatorEnum);
    for (    IndicatorEnum indicatorEnum : map.keySet()) {
      customerdataset.addValue(map.get(indicatorEnum),"String_Node_Str",indicatorEnum.getLabel());
    }
    return customerdataset;
  }
}