Program: 139657
Project: 139657
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);
      }
 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();
  }
}

Fixed version (ground truth):
private void updateUI(IJobChangeEvent event){
  final List<String> information=new ArrayList<String>();
  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".equalsIgnoreCase(componet.getCategry().getName())) {
        type=ExpressionType.REGEXP;
        folder=getFolder(DQStructureManager.PATTERNS).getFolder(DQStructureManager.REGEX);
      }
 else       if ("String_Node_Str".equalsIgnoreCase(componet.getCategry().getName())) {
        type=ExpressionType.REGEXP;
        folder=getFolder(DQStructureManager.PATTERNS).getFolder(DQStructureManager.REGEX);
      }
 else       if ("String_Node_Str".equalsIgnoreCase(componet.getCategry().getName())) {
        type=ExpressionType.SQL_LIKE;
        folder=getFolder(DQStructureManager.PATTERNS).getFolder(DQStructureManager.SQL);
      }
 else       if ("String_Node_Str".equalsIgnoreCase(componet.getCategry().getName())) {
        type=null;
      }
      for (      File oneFile : files) {
        if (type == null) {
          IFolder udiFolder=getFolder(DQStructureManager.INDICATORS).getFolder(DQStructureManager.USER_DEFINED_INDICATORS);
          information.addAll(ImportFactory.importIndicatorToStucture(oneFile,udiFolder,true,true));
        }
 else {
          information.addAll(ImportFactory.importToStucture(oneFile,folder,type,true,true));
        }
      }
    }
    Display.getDefault().asyncExec(new Runnable(){
      public void run(){
        ImportInfoDialog.openImportInformation(null,"String_Node_Str",(String[])information.toArray(new String[0]));
      }
    }
);
    CorePlugin.getDefault().refreshDQView();
  }
}