Program: 77259
Project: 77259
Buggy source:
/** 
 * Copies values of <code>sourceHandle</code> to <code>sourceDesign</code>.
 * @param setHandle the Model handle
 * @param setDesign the ODA data source design
 * @param propertyName the property name
 */
public void updateDataSetDesign(OdaDataSetHandle setHandle,DataSetDesign setDesign,String propertyName){
  if (setHandle == null || setDesign == null || propertyName == null)   return;
  if (OdaDataSetHandle.NAME_PROP.equalsIgnoreCase(propertyName))   setDesign.setName(setHandle.getName());
 else   if (OdaDataSetHandle.DISPLAY_NAME_PROP.equalsIgnoreCase(propertyName))   setDesign.setDisplayName(setHandle.getDisplayName());
 else   if (OdaDataSourceHandle.EXTENSION_ID_PROP.equalsIgnoreCase(propertyName))   setDesign.setOdaExtensionDataSetId(setHandle.getExtensionID());
 else   if (OdaDataSetHandle.PRIVATE_DRIVER_PROPERTIES_PROP.equalsIgnoreCase(propertyName))   setDesign.setPrivateProperties(newOdaPrivateProperties(setHandle.privateDriverPropertiesIterator()));
 else   if (OdaDataSetHandle.RESULT_SET_NAME_PROP.equalsIgnoreCase(propertyName))   setDesign.setPrimaryResultSetName(setHandle.getResultSetName());
 else   if (OdaDataSetHandle.QUERY_TEXT_PROP.equalsIgnoreCase(propertyName))   setDesign.setQueryText(setHandle.getQueryText());
 else   if (OdaDataSetHandle.DATA_SOURCE_PROP.equalsIgnoreCase(propertyName)) {
    OdaDataSourceHandle sourceHandle=(OdaDataSourceHandle)setHandle.getDataSource();
    if (sourceHandle != null)     setDesign.setDataSourceDesign(createDataSourceDesign(sourceHandle));
  }
 else   if (OdaDataSetHandle.PARAMETERS_PROP.equalsIgnoreCase(propertyName))   setDesign.setParameters(new DataSetParameterAdapter().newOdaDataSetParams(setHandle.parametersIterator()));
 else   if (OdaDataSetHandle.RESULT_SET_PROP.equalsIgnoreCase(propertyName))   setDesign.setPrimaryResultSet(new ResultSetsAdapter().newOdaResultSetDefinition(setHandle));
}

Fixed version (ground truth):
/** 
 * Copies values of <code>sourceHandle</code> to <code>sourceDesign</code>.
 * @param setHandle the Model handle
 * @param setDesign the ODA data source design
 * @param propertyName the property name
 */
public void updateDataSetDesign(OdaDataSetHandle setHandle,DataSetDesign setDesign,String propertyName){
  if (setHandle == null || setDesign == null || propertyName == null)   return;
  if (OdaDataSetHandle.NAME_PROP.equalsIgnoreCase(propertyName))   setDesign.setName(setHandle.getName());
 else   if (OdaDataSetHandle.DISPLAY_NAME_PROP.equalsIgnoreCase(propertyName))   setDesign.setDisplayName(setHandle.getDisplayName());
 else   if (OdaDataSourceHandle.EXTENSION_ID_PROP.equalsIgnoreCase(propertyName))   setDesign.setOdaExtensionDataSetId(setHandle.getExtensionID());
 else   if (OdaDataSetHandle.PRIVATE_DRIVER_PROPERTIES_PROP.equalsIgnoreCase(propertyName))   setDesign.setPrivateProperties(newOdaPrivateProperties(setHandle.privateDriverPropertiesIterator()));
 else   if (OdaDataSetHandle.RESULT_SET_NAME_PROP.equalsIgnoreCase(propertyName))   setDesign.setPrimaryResultSetName(setHandle.getResultSetName());
 else   if (OdaDataSetHandle.QUERY_TEXT_PROP.equalsIgnoreCase(propertyName))   setDesign.setQueryText(setHandle.getQueryText());
 else   if (OdaDataSetHandle.DATA_SOURCE_PROP.equalsIgnoreCase(propertyName)) {
    OdaDataSourceHandle sourceHandle=(OdaDataSourceHandle)setHandle.getDataSource();
    if (sourceHandle != null)     setDesign.setDataSourceDesign(createDataSourceDesign(sourceHandle));
  }
 else   if (OdaDataSetHandle.PARAMETERS_PROP.equalsIgnoreCase(propertyName))   setDesign.setParameters(new DataSetParameterAdapter().newOdaDataSetParams(setHandle.parametersIterator(),setDesign));
 else   if (OdaDataSetHandle.RESULT_SET_PROP.equalsIgnoreCase(propertyName))   setDesign.setPrimaryResultSet(new ResultSetsAdapter().newOdaResultSetDefinition(setHandle));
}