Program: 70698
Project: 70698
Buggy source:
private static AreaSeries copyInstanceThis(AreaSeries src){
  if (src == null) {
    return null;
  }
  AreaSeriesImpl dest=new AreaSeriesImpl();
  if (src.getLabel() != null) {
    dest.setLabel(LabelImpl.copyInstance(src.getLabel()));
  }
  if (src.getDataDefinition() != null) {
    EList<Query> list=dest.getDataDefinition();
    for (    Query element : src.getDataDefinition()) {
      list.add(QueryImpl.copyInstance(element));
    }
  }
  if (src.getDataPoint() != null) {
    dest.setDataPoint(DataPointImpl.copyInstance(src.getDataPoint()));
  }
  if (src.getDataSets() != null) {
    EMap<String,DataSet> map=dest.getDataSets();
    map.putAll(src.getDataSets());
  }
  if (src.getTriggers() != null) {
    EList<Trigger> list=dest.getTriggers();
    for (    Trigger element : src.getTriggers()) {
      list.add(TriggerImpl.copyInstance(element));
    }
  }
  if (src.getCurveFitting() != null) {
    dest.setCurveFitting(CurveFittingImpl.copyInstance(src.getCurveFitting()));
  }
  if (src.getCursor() != null) {
    dest.setCursor(CursorImpl.copyInstance(src.getCursor()));
  }
  if (src.getMarkers() != null) {
    EList<Marker> list=dest.getMarkers();
    for (    Marker element : src.getMarkers()) {
      list.add(MarkerImpl.copyInstance(element));
    }
  }
  if (src.getMarker() != null) {
    dest.setMarker(MarkerImpl.copyInstance(src.getMarker()));
  }
  if (src.getLineAttributes() != null) {
    dest.setLineAttributes(LineAttributesImpl.copyInstance(src.getLineAttributes()));
  }
  if (src.getShadowColor() != null) {
    dest.setShadowColor(ColorDefinitionImpl.copyInstance(src.getShadowColor()));
  }
  dest.visible=src.isVisible();
  dest.visibleESet=src.isSetVisible();
  dest.seriesIdentifier=src.getSeriesIdentifier();
  dest.labelPosition=src.getLabelPosition();
  dest.labelPositionESet=src.isSetLabelPosition();
  dest.stacked=src.isStacked();
  dest.stackedESet=src.isSetStacked();
  dest.translucent=src.isTranslucent();
  dest.translucentESet=src.isSetTranslucent();
  dest.paletteLineColor=src.isPaletteLineColor();
  dest.paletteLineColorESet=src.isSetPaletteLineColor();
  dest.curve=src.isCurve();
  dest.curveESet=src.isSetCurve();
  dest.connectMissingValue=src.isConnectMissingValue();
  dest.connectMissingValueESet=src.isSetConnectMissingValue();
  return dest;
}

Fixed version (ground truth):
private static AreaSeries copyInstanceThis(AreaSeries src){
  if (src == null) {
    return null;
  }
  AreaSeriesImpl dest=new AreaSeriesImpl();
  if (src.getLabel() != null) {
    dest.setLabel(LabelImpl.copyInstance(src.getLabel()));
  }
  if (src.getDataDefinition() != null) {
    EList<Query> list=dest.getDataDefinition();
    for (    Query element : src.getDataDefinition()) {
      list.add(QueryImpl.copyInstance(element));
    }
  }
  if (src.getDataPoint() != null) {
    dest.setDataPoint(DataPointImpl.copyInstance(src.getDataPoint()));
  }
  if (src.getDataSets() != null) {
    EMap<String,DataSet> map=dest.getDataSets();
    for (    Map.Entry<String,DataSet> entry : src.getDataSets().entrySet()) {
      map.put(entry.getKey(),DataSetImpl.copyInstance(entry.getValue()));
    }
  }
  if (src.getTriggers() != null) {
    EList<Trigger> list=dest.getTriggers();
    for (    Trigger element : src.getTriggers()) {
      list.add(TriggerImpl.copyInstance(element));
    }
  }
  if (src.getCurveFitting() != null) {
    dest.setCurveFitting(CurveFittingImpl.copyInstance(src.getCurveFitting()));
  }
  if (src.getCursor() != null) {
    dest.setCursor(CursorImpl.copyInstance(src.getCursor()));
  }
  if (src.getMarkers() != null) {
    EList<Marker> list=dest.getMarkers();
    for (    Marker element : src.getMarkers()) {
      list.add(MarkerImpl.copyInstance(element));
    }
  }
  if (src.getMarker() != null) {
    dest.setMarker(MarkerImpl.copyInstance(src.getMarker()));
  }
  if (src.getLineAttributes() != null) {
    dest.setLineAttributes(LineAttributesImpl.copyInstance(src.getLineAttributes()));
  }
  if (src.getShadowColor() != null) {
    dest.setShadowColor(ColorDefinitionImpl.copyInstance(src.getShadowColor()));
  }
  dest.visible=src.isVisible();
  dest.visibleESet=src.isSetVisible();
  dest.seriesIdentifier=src.getSeriesIdentifier();
  dest.labelPosition=src.getLabelPosition();
  dest.labelPositionESet=src.isSetLabelPosition();
  dest.stacked=src.isStacked();
  dest.stackedESet=src.isSetStacked();
  dest.translucent=src.isTranslucent();
  dest.translucentESet=src.isSetTranslucent();
  dest.paletteLineColor=src.isPaletteLineColor();
  dest.paletteLineColorESet=src.isSetPaletteLineColor();
  dest.curve=src.isCurve();
  dest.curveESet=src.isSetCurve();
  dest.connectMissingValue=src.isConnectMissingValue();
  dest.connectMissingValueESet=src.isSetConnectMissingValue();
  return dest;
}