Program: 122891
Project: 122891
Buggy source:
@Override protected Control createDialogArea(Composite parent){
  Composite container=(Composite)super.createDialogArea(parent);
  TimeMeasure.step(RepositoryReviewDialog.class.getSimpleName(),"String_Node_Str");
  GridData data=(GridData)container.getLayoutData();
  data.minimumHeight=400;
  data.heightHint=400;
  data.minimumWidth=500;
  data.widthHint=500;
  container.setLayoutData(data);
  createFilterField(container);
  Composite viewContainer=new Composite(container,SWT.BORDER);
  viewContainer.setLayout(new GridLayout());
  viewContainer.setLayoutData(new GridData(GridData.FILL_BOTH));
  RepositoryViewerProvider provider=new RepositoryViewerProvider(){
    @Override protected IRepositoryNode getInputRoot(    IProjectRepositoryNode projectRepoNode){
      return typeProcessor.getInputRoot(projectRepoNode);
    }
    @Override protected TreeViewer createTreeViewer(    Composite parent,    int style){
      return new RepositoryTreeViewer(parent,style);
    }
  }
;
  repositoryTreeViewer=(RepositoryTreeViewer)provider.createViewer(viewContainer);
  TimeMeasure.step(RepositoryReviewDialog.class.getSimpleName(),"String_Node_Str");
  repositoryTreeViewer.getTree().setLayoutData(new GridData(GridData.FILL_BOTH));
  addFilter(textFilter);
  if (dbSupportFilter != null) {
    addFilter(dbSupportFilter);
  }
  if (additionalFilters != null) {
    addFilter(additionalFilters);
  }
  ViewerFilter filter=typeProcessor.makeFilter();
  addFilter(filter);
  TimeMeasure.step(RepositoryReviewDialog.class.getSimpleName(),"String_Node_Str");
  TimeMeasure.step(RepositoryReviewDialog.class.getSimpleName(),"String_Node_Str");
  repositoryTreeViewer.expandAll();
  TimeMeasure.step(RepositoryReviewDialog.class.getSimpleName(),"String_Node_Str");
  selectNode();
  TimeMeasure.step(RepositoryReviewDialog.class.getSimpleName(),"String_Node_Str");
  repositoryTreeViewer.addSelectionChangedListener(new ISelectionChangedListener(){
    public void selectionChanged(    SelectionChangedEvent event){
      boolean highlightOKButton=isSelectionValid(event);
      getButton(IDialogConstants.OK_ID).setEnabled(highlightOKButton);
    }
  }
);
  repositoryTreeViewer.addDoubleClickListener(new IDoubleClickListener(){
    public void doubleClick(    DoubleClickEvent event){
      if (getButton(IDialogConstants.OK_ID).isEnabled()) {
        okPressed();
      }
    }
  }
);
  TimeMeasure.step(RepositoryReviewDialog.class.getSimpleName(),"String_Node_Str");
  TimeMeasure.end(RepositoryReviewDialog.class.getSimpleName());
  TimeMeasure.display=false;
  TimeMeasure.displaySteps=false;
  TimeMeasure.measureActive=false;
  return container;
}

Fixed version (ground truth):
@Override protected Control createDialogArea(Composite parent){
  Composite container=(Composite)super.createDialogArea(parent);
  TimeMeasure.step(RepositoryReviewDialog.class.getSimpleName(),"String_Node_Str");
  GridData data=(GridData)container.getLayoutData();
  data.minimumHeight=400;
  data.heightHint=400;
  data.minimumWidth=500;
  data.widthHint=500;
  container.setLayoutData(data);
  createFilterField(container);
  Composite viewContainer=new Composite(container,SWT.BORDER);
  viewContainer.setLayout(new GridLayout());
  viewContainer.setLayoutData(new GridData(GridData.FILL_BOTH));
  RepositoryViewerProvider provider=new RepositoryViewerProvider(){
    @Override protected IRepositoryNode getInputRoot(    IProjectRepositoryNode projectRepoNode){
      return typeProcessor.getInputRoot(projectRepoNode);
    }
    @Override protected TreeViewer createTreeViewer(    Composite parent,    int style){
      return new RepositoryTreeViewer(parent,style);
    }
  }
;
  repositoryTreeViewer=(RepositoryTreeViewer)provider.createViewer(viewContainer);
  TimeMeasure.step(RepositoryReviewDialog.class.getSimpleName(),"String_Node_Str");
  repositoryTreeViewer.getTree().setLayoutData(new GridData(GridData.FILL_BOTH));
  addFilter(textFilter);
  if (dbSupportFilter != null) {
    addFilter(dbSupportFilter);
  }
  if (additionalFilters != null) {
    addFilter(additionalFilters);
  }
  ViewerFilter filter=typeProcessor.makeFilter();
  if (!(ERepositoryObjectType.CONTEXT).equals(type)) {
    addFilter(filter);
  }
  TimeMeasure.step(RepositoryReviewDialog.class.getSimpleName(),"String_Node_Str");
  TimeMeasure.step(RepositoryReviewDialog.class.getSimpleName(),"String_Node_Str");
  repositoryTreeViewer.expandAll();
  TimeMeasure.step(RepositoryReviewDialog.class.getSimpleName(),"String_Node_Str");
  selectNode();
  TimeMeasure.step(RepositoryReviewDialog.class.getSimpleName(),"String_Node_Str");
  repositoryTreeViewer.addSelectionChangedListener(new ISelectionChangedListener(){
    public void selectionChanged(    SelectionChangedEvent event){
      boolean highlightOKButton=isSelectionValid(event);
      getButton(IDialogConstants.OK_ID).setEnabled(highlightOKButton);
    }
  }
);
  repositoryTreeViewer.addDoubleClickListener(new IDoubleClickListener(){
    public void doubleClick(    DoubleClickEvent event){
      if (getButton(IDialogConstants.OK_ID).isEnabled()) {
        okPressed();
      }
    }
  }
);
  TimeMeasure.step(RepositoryReviewDialog.class.getSimpleName(),"String_Node_Str");
  TimeMeasure.end(RepositoryReviewDialog.class.getSimpleName());
  TimeMeasure.display=false;
  TimeMeasure.displaySteps=false;
  TimeMeasure.measureActive=false;
  return container;
}