Program: 139667
Project: 139667
Buggy source:
private void updateUI(IJobChangeEvent event){
  final StringBuffer information=new StringBuffer();
  setEnabled(true);
  if (fExtensionDownloaded > 0) {
    for (    IEcosComponent componet : fInstalledComponents) {
      File file=new File(componet.getInstalledLocation());
      List<File> files=new ArrayList<File>();
      extractFiles(file,files);
      ExpressionType type=ExpressionType.REGEXP;
      IFolder folder=getFolder(DQStructureManager.PATTERNS);
      if ("String_Node_Str".equals(componet.getCategry().getName())) {
        type=ExpressionType.REGEXP;
        folder=getFolder(DQStructureManager.PATTERNS).getFolder(DQStructureManager.REGEX);
      }
 else       if ("String_Node_Str".equals(componet.getCategry().getName())) {
        type=ExpressionType.REGEXP;
        folder=getFolder(DQStructureManager.PATTERNS).getFolder(DQStructureManager.REGEX);
      }
 else       if ("String_Node_Str".equals(componet.getCategry().getName())) {
        type=ExpressionType.SQL_LIKE;
        folder=getFolder(DQStructureManager.PATTERNS).getFolder(DQStructureManager.SQL);
      }
      for (      File oneFile : files) {
        information.append(ImportFactory.importToStucture(oneFile,folder,type,true,true));
        information.append("String_Node_Str");
      }
    }
    Display.getDefault().asyncExec(new Runnable(){
      public void run(){
        ImportInfoDialog.openImportInformation(null,information);
      }
    }
);
    CorePlugin.getDefault().refreshDQView();
  }
}

Fixed version (ground truth):
private void updateUI(IJobChangeEvent event){
  final StringBuffer information=new StringBuffer();
  setEnabled(true);
  if (fExtensionDownloaded > 0) {
    for (    IEcosComponent componet : fInstalledComponents) {
      File file=new File(componet.getInstalledLocation());
      List<File> files=new ArrayList<File>();
      extractFiles(file,files);
      ExpressionType type=ExpressionType.REGEXP;
      IFolder folder=getFolder(DQStructureManager.PATTERNS);
      if ("String_Node_Str".equals(componet.getCategry().getName())) {
        type=ExpressionType.REGEXP;
        folder=getFolder(DQStructureManager.PATTERNS).getFolder(DQStructureManager.REGEX);
      }
 else       if ("String_Node_Str".equals(componet.getCategry().getName())) {
        type=ExpressionType.REGEXP;
        folder=getFolder(DQStructureManager.PATTERNS).getFolder(DQStructureManager.REGEX);
      }
 else       if ("String_Node_Str".equals(componet.getCategry().getName())) {
        type=ExpressionType.SQL_LIKE;
        folder=getFolder(DQStructureManager.PATTERNS).getFolder(DQStructureManager.SQL);
      }
 else       if ("String_Node_Str".equals(componet.getCategry().getName())) {
        type=null;
      }
      for (      File oneFile : files) {
        if (type == null) {
          IFolder udiFolder=getFolder(DQStructureManager.INDICATORS).getFolder(DQStructureManager.USER_DEFINED_INDICATORS);
          information.append(ImportFactory.importIndicatorToStucture(oneFile,udiFolder,true,true));
        }
 else {
          information.append(ImportFactory.importToStucture(oneFile,folder,type,true,true));
        }
        information.append("String_Node_Str");
      }
    }
    Display.getDefault().asyncExec(new Runnable(){
      public void run(){
        ImportInfoDialog.openImportInformation(null,information);
      }
    }
);
    CorePlugin.getDefault().refreshDQView();
  }
}