Program: 137588
Project: 137588
Buggy source:
/** 
 * get FullPath from objectType.
 * @param objectType
 * @return
 */
private IPath getFullPathFormObjectType(ERepositoryObjectType objectType){
  IPath fullPath=null;
  if (objectType == ERepositoryObjectType.TDQ_JRAXML_ELEMENT) {
    fullPath=ResourceManager.getJRXMLFolder().getFullPath();
  }
 else   if (objectType == ERepositoryObjectType.TDQ_PATTERN_REGEX) {
    fullPath=ResourceManager.getPatternRegexFolder().getFullPath();
  }
 else   if (objectType == ERepositoryObjectType.TDQ_PATTERN_SQL) {
    fullPath=ResourceManager.getPatternSQLFolder().getFullPath();
  }
 else   if (objectType == ERepositoryObjectType.TDQ_SOURCE_FILE_ELEMENT) {
    fullPath=ResourceManager.getSourceFileFolder().getFullPath();
  }
 else   if (objectType == ERepositoryObjectType.TDQ_RULES_SQL) {
    fullPath=ResourceManager.getRulesSQLFolder().getFullPath();
  }
 else   if (objectType == ERepositoryObjectType.TDQ_USERDEFINE_INDICATORS) {
    fullPath=ResourceManager.getUDIFolder().getFullPath();
  }
 else   if (objectType == ERepositoryObjectType.METADATA_CONNECTIONS) {
    fullPath=ResourceManager.getConnectionFolder().getFullPath();
  }
 else   if (objectType == ERepositoryObjectType.TDQ_ANALYSIS_ELEMENT) {
    fullPath=ResourceManager.getAnalysisFolder().getFullPath();
  }
 else   if (objectType == ERepositoryObjectType.TDQ_REPORT_ELEMENT) {
    fullPath=ResourceManager.getReportsFolder().getFullPath();
  }
 else   if (objectType == ERepositoryObjectType.METADATA_FILE_DELIMITED) {
    fullPath=ResourceManager.getFileDelimitedFolder().getFullPath();
  }
 else   if (objectType == ERepositoryObjectType.METADATA_MDMCONNECTION) {
    fullPath=ResourceManager.getMDMConnectionFolder().getFullPath();
  }
 else   if (objectType == ERepositoryObjectType.TDQ_RULES_PARSER) {
    fullPath=ResourceManager.getRulesParserFolder().getFullPath();
  }
  return fullPath;
}

Fixed version (ground truth):
/** 
 * get FullPath from objectType.
 * @param objectType
 * @return
 */
private IPath getFullPathFormObjectType(ERepositoryObjectType objectType){
  IPath fullPath=null;
  if (objectType == ERepositoryObjectType.TDQ_JRAXML_ELEMENT) {
    fullPath=ResourceManager.getJRXMLFolder().getFullPath();
  }
 else   if (objectType == ERepositoryObjectType.TDQ_PATTERN_REGEX) {
    fullPath=ResourceManager.getPatternRegexFolder().getFullPath();
  }
 else   if (objectType == ERepositoryObjectType.TDQ_PATTERN_SQL) {
    fullPath=ResourceManager.getPatternSQLFolder().getFullPath();
  }
 else   if (objectType == ERepositoryObjectType.TDQ_SOURCE_FILE_ELEMENT) {
    fullPath=ResourceManager.getSourceFileFolder().getFullPath();
  }
 else   if (objectType == ERepositoryObjectType.TDQ_RULES_SQL) {
    fullPath=ResourceManager.getRulesSQLFolder().getFullPath();
  }
 else   if (objectType == ERepositoryObjectType.TDQ_USERDEFINE_INDICATORS) {
    fullPath=ResourceManager.getUDIFolder().getFullPath();
  }
 else   if (objectType == ERepositoryObjectType.METADATA_CONNECTIONS) {
    fullPath=ResourceManager.getConnectionFolder().getFullPath();
  }
 else   if (objectType == ERepositoryObjectType.TDQ_ANALYSIS_ELEMENT) {
    fullPath=ResourceManager.getAnalysisFolder().getFullPath();
  }
 else   if (objectType == ERepositoryObjectType.TDQ_REPORT_ELEMENT) {
    fullPath=ResourceManager.getReportsFolder().getFullPath();
  }
 else   if (objectType == ERepositoryObjectType.METADATA_FILE_DELIMITED) {
    fullPath=ResourceManager.getFileDelimitedFolder().getFullPath();
  }
 else   if (objectType == ERepositoryObjectType.METADATA_MDMCONNECTION) {
    fullPath=ResourceManager.getMDMConnectionFolder().getFullPath();
  }
 else   if (objectType == ERepositoryObjectType.TDQ_RULES_PARSER) {
    fullPath=ResourceManager.getRulesParserFolder().getFullPath();
  }
 else   if (objectType == ERepositoryObjectType.TDQ_RULES_MATCHER) {
    fullPath=ResourceManager.getRulesMatcherFolder().getFullPath();
  }
  return fullPath;
}