Program: 96317
Project: 96317
Buggy source:
/** 
 * {@inheritDoc}
 */
public void createPartControl(Composite parent){
  m_parentComposite=parent;
  m_clipboard=new Clipboard(parent.getDisplay());
  GridLayout layout=new GridLayout();
  layout.numColumns=NUM_COLUMNS_1;
  layout.verticalSpacing=VERTICAL_SPACING;
  layout.marginWidth=Layout.MARGIN_WIDTH;
  layout.marginHeight=Layout.MARGIN_HEIGHT;
  parent.setLayout(layout);
  Composite composite=new Composite(parent,SWT.NONE);
  composite.setLayout(layout);
  GridData gridData=new GridData(GridData.HORIZONTAL_ALIGN_FILL | GridData.FILL_BOTH);
  composite.setLayoutData(gridData);
  final FilteredTree ft=new JBFilteredTree(composite,SWT.MULTI | SWT.H_SCROLL | SWT.V_SCROLL| SWT.BORDER,new JBBrowserPatternFilter(),true);
  setTreeViewer(ft.getViewer());
  setTreeFilterText(ft.getFilterControl());
  addTreeListener();
  getTreeViewer().setUseHashlookup(true);
  getTreeViewer().setSorter(new GuiNodeNameViewerSorter());
  GridData layoutData=new GridData();
  layoutData.grabExcessHorizontalSpace=true;
  layoutData.horizontalAlignment=GridData.FILL;
  layoutData=new GridData();
  layoutData.grabExcessHorizontalSpace=true;
  layoutData.grabExcessVerticalSpace=true;
  layoutData.horizontalAlignment=GridData.FILL;
  layoutData.verticalAlignment=GridData.FILL;
  getTreeViewer().getControl().setLayoutData(layoutData);
  getSite().setSelectionProvider(getTreeViewer());
  getTreeViewer().setAutoExpandLevel(DEFAULT_EXPANSION);
  final DataEventDispatcher dispatcher=DataEventDispatcher.getInstance();
  dispatcher.addProjectLoadedListener(this,false);
  dispatcher.addDataChangedListener(this,true);
  getViewSite().getActionBars().getToolBarManager().add(new ToggleLinkingAction());
  getViewSite().getWorkbenchWindow().getPartService().addPartListener(m_partListener);
  setFocus();
}

Fixed version (ground truth):
/** 
 * {@inheritDoc}
 */
public void createPartControl(Composite parent){
  m_parentComposite=parent;
  m_clipboard=new Clipboard(parent.getDisplay());
  GridLayout layout=new GridLayout();
  layout.numColumns=NUM_COLUMNS_1;
  layout.verticalSpacing=VERTICAL_SPACING;
  layout.marginWidth=Layout.MARGIN_WIDTH;
  layout.marginHeight=Layout.MARGIN_HEIGHT;
  parent.setLayout(layout);
  Composite composite=new Composite(parent,SWT.NONE);
  composite.setLayout(layout);
  GridData gridData=new GridData(GridData.HORIZONTAL_ALIGN_FILL | GridData.FILL_BOTH);
  composite.setLayoutData(gridData);
  final FilteredTree ft=new JBFilteredTree(composite,SWT.MULTI | SWT.H_SCROLL | SWT.V_SCROLL| SWT.BORDER,new JBBrowserPatternFilter(),true);
  setTreeViewer(ft.getViewer());
  setTreeFilterText(ft.getFilterControl());
  addTreeListener();
  getTreeViewer().setUseHashlookup(true);
  getTreeViewer().setSorter(new NodeNameViewerSorter());
  GridData layoutData=new GridData();
  layoutData.grabExcessHorizontalSpace=true;
  layoutData.horizontalAlignment=GridData.FILL;
  layoutData=new GridData();
  layoutData.grabExcessHorizontalSpace=true;
  layoutData.grabExcessVerticalSpace=true;
  layoutData.horizontalAlignment=GridData.FILL;
  layoutData.verticalAlignment=GridData.FILL;
  getTreeViewer().getControl().setLayoutData(layoutData);
  getSite().setSelectionProvider(getTreeViewer());
  getTreeViewer().setAutoExpandLevel(DEFAULT_EXPANSION);
  final DataEventDispatcher dispatcher=DataEventDispatcher.getInstance();
  dispatcher.addProjectLoadedListener(this,false);
  dispatcher.addDataChangedListener(this,true);
  getViewSite().getActionBars().getToolBarManager().add(new ToggleLinkingAction());
  getViewSite().getWorkbenchWindow().getPartService().addPartListener(m_partListener);
  setFocus();
}