Program: 126441
Project: 126441
Buggy source:
/** 
 * DOC wzhang Comment method "setValue".
 * @param connection
 * @param node
 * @param repositoryValue
 */
public static void setValue(Connection connection,INode node,String repositoryValue){
  if (connection == null || node == null || repositoryValue == null) {
    return;
  }
 else   if (connection instanceof XmlFileConnection) {
    setXmlFileValue((XmlFileConnection)connection,node,repositoryValue);
  }
 else   if (connection instanceof DatabaseConnection) {
    setDatabaseValue((DatabaseConnection)connection,node,repositoryValue);
  }
 else   if (connection instanceof EbcdicConnection) {
    setEbcdicValue((EbcdicConnection)connection,node,repositoryValue);
  }
 else   if (connection instanceof DelimitedFileConnection) {
    setDelimitedFileValue((DelimitedFileConnection)connection,node,repositoryValue);
  }
 else   if (connection instanceof LDAPSchemaConnection) {
    setLDAPSchemaValue((LDAPSchemaConnection)connection,node,repositoryValue);
  }
 else   if (connection instanceof WSDLSchemaConnection) {
    setWSDLSchemaValue((WSDLSchemaConnection)connection,node,repositoryValue);
  }
 else   if (connection instanceof LdifFileConnection) {
    setLdifFileValue((LdifFileConnection)connection,node,repositoryValue);
  }
 else   if (connection instanceof RegexpFileConnection) {
    setRegexpFileValue((RegexpFileConnection)connection,node,repositoryValue);
  }
 else   if (connection instanceof PositionalFileConnection) {
    setPositionalFileValue((PositionalFileConnection)connection,node,repositoryValue);
  }
 else   if (connection instanceof FileExcelConnection) {
    setFileExcelValue((FileExcelConnection)connection,node,repositoryValue);
  }
 else   if (connection instanceof SAPConnection) {
    setSAPValue((SAPConnection)connection,node,repositoryValue);
  }
 else   if (connection instanceof SalesforceSchemaConnection) {
    setSalesforceSchema((SalesforceSchemaConnection)connection,node,repositoryValue);
  }
 else   if (connection instanceof MDMConnection) {
    setMDMValue((MDMConnection)connection,node,repositoryValue);
  }
 else   if (connection instanceof BRMSConnection) {
    setBRMSValue((BRMSConnection)connection,node,repositoryValue);
  }
 else   if (connection instanceof HL7Connection) {
    setHL7Value((HL7Connection)connection,node,repositoryValue);
  }
  for (  IDragAndDropServiceHandler handler : DragAndDropManager.getHandlers()) {
    if (handler.canHandle(connection)) {
      handler.setComponentValue(connection,node,repositoryValue);
    }
  }
}

Fixed version (ground truth):
/** 
 * DOC wzhang Comment method "setValue".
 * @param connection
 * @param node
 * @param repositoryValue
 */
public static void setValue(Connection connection,INode node,IElementParameter param){
  if (connection == null || node == null || param == null) {
    return;
  }
 else   if (connection instanceof XmlFileConnection) {
    setXmlFileValue((XmlFileConnection)connection,node,param);
  }
 else   if (connection instanceof DatabaseConnection) {
    setDatabaseValue((DatabaseConnection)connection,node,param);
  }
 else   if (connection instanceof EbcdicConnection) {
    setEbcdicValue((EbcdicConnection)connection,node,param);
  }
 else   if (connection instanceof DelimitedFileConnection) {
    setDelimitedFileValue((DelimitedFileConnection)connection,node,param);
  }
 else   if (connection instanceof LDAPSchemaConnection) {
    setLDAPSchemaValue((LDAPSchemaConnection)connection,node,param);
  }
 else   if (connection instanceof WSDLSchemaConnection) {
    setWSDLSchemaValue((WSDLSchemaConnection)connection,node,param);
  }
 else   if (connection instanceof LdifFileConnection) {
    setLdifFileValue((LdifFileConnection)connection,node,param);
  }
 else   if (connection instanceof RegexpFileConnection) {
    setRegexpFileValue((RegexpFileConnection)connection,node,param);
  }
 else   if (connection instanceof PositionalFileConnection) {
    setPositionalFileValue((PositionalFileConnection)connection,node,param);
  }
 else   if (connection instanceof FileExcelConnection) {
    setFileExcelValue((FileExcelConnection)connection,node,param);
  }
 else   if (connection instanceof SAPConnection) {
    setSAPValue((SAPConnection)connection,node,param);
  }
 else   if (connection instanceof SalesforceSchemaConnection) {
    setSalesforceSchema((SalesforceSchemaConnection)connection,node,param);
  }
 else   if (connection instanceof MDMConnection) {
    setMDMValue((MDMConnection)connection,node,param);
  }
 else   if (connection instanceof BRMSConnection) {
    setBRMSValue((BRMSConnection)connection,node,param);
  }
 else   if (connection instanceof HL7Connection) {
    setHL7Value((HL7Connection)connection,node,param);
  }
  for (  IDragAndDropServiceHandler handler : DragAndDropManager.getHandlers()) {
    if (handler.canHandle(connection)) {
      handler.setComponentValue(connection,node,param);
    }
  }
}