Program: 138106
Project: 138106
Buggy source:
private IPath getNodeFullPath(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();
  }
  return fullPath;
}

Fixed version (ground truth):
private IPath getNodeFullPath(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;
}