Program: 139043
Project: 139043
Buggy source:
private void createAnalyzedColumnSetsSection(String mainTitle,String description){
  columnsComparisonSection=masterPage.createSection(form,parentComp,mainTitle,description);
  Composite sectionClient=toolkit.createComposite(columnsComparisonSection);
  sectionClient.setLayout(new GridLayout());
  if (showCheckButton) {
    checkComputeButton=new Button(sectionClient,SWT.CHECK);
    GridData layoutData=new GridData(GridData.FILL_BOTH);
    layoutData.horizontalAlignment=SWT.CENTER;
    checkComputeButton.setLayoutData(layoutData);
    checkComputeButton.setText(DefaultMessagesImpl.getString("String_Node_Str"));
    checkComputeButton.setToolTipText(DefaultMessagesImpl.getString("String_Node_Str"));
    checkComputeButton.addSelectionListener(new SelectionAdapter(){
      public void widgetSelected(      SelectionEvent e){
        masterPage.setDirty(true);
      }
    }
);
    checkComputeButton.setSelection(checkComputButton);
  }
  Composite columnComp=toolkit.createComposite(sectionClient);
  columnComp.setLayoutData(new GridData(GridData.FILL_BOTH));
  columnComp.setLayout(new GridLayout());
  Composite compareToplevelComp=toolkit.createComposite(columnComp);
  GridLayout compareToplevelLayout=new GridLayout();
  compareToplevelLayout.numColumns=2;
  compareToplevelComp.setLayout(compareToplevelLayout);
  masterPage.createConnBindWidget(compareToplevelComp);
  columnReverseButtion=new Button(compareToplevelComp,SWT.NONE);
  columnReverseButtion.setText("String_Node_Str");
  columnReverseButtion.addMouseListener(new MouseListener(){
    public void mouseDoubleClick(    MouseEvent e){
    }
    public void mouseDown(    MouseEvent e){
      handleColumnReverseAction();
    }
    public void mouseUp(    MouseEvent e){
    }
  }
);
  columnReverseButtion.addKeyListener(new KeyListener(){
    public void keyPressed(    KeyEvent e){
      if (e.keyCode == 13) {
        handleColumnReverseAction();
      }
    }
    public void keyReleased(    KeyEvent e){
    }
  }
);
  SashForm sashForm=new SashForm(sectionClient,SWT.NULL);
  sashForm.setLayoutData(new GridData(GridData.FILL_BOTH));
  String hyperlinkTextLeft=null;
  String hyperlinkTextRight=null;
  if (masterPage instanceof ColumnDependencyMasterDetailsPage) {
    hyperlinkTextLeft=DefaultMessagesImpl.getString("String_Node_Str");
    hyperlinkTextRight=DefaultMessagesImpl.getString("String_Node_Str");
  }
 else {
    hyperlinkTextLeft=DefaultMessagesImpl.getString("String_Node_Str");
    hyperlinkTextRight=DefaultMessagesImpl.getString("String_Node_Str");
  }
  Composite leftComp=toolkit.createComposite(sashForm);
  leftComp.setLayoutData(new GridData(GridData.FILL_BOTH));
  leftComp.setLayout(new GridLayout());
  leftTable=this.createSectionPart(leftComp,columnListA,DefaultMessagesImpl.getString("String_Node_Str"),hyperlinkTextLeft);
  Composite rightComp=toolkit.createComposite(sashForm);
  rightComp.setLayoutData(new GridData(GridData.FILL_BOTH));
  rightComp.setLayout(new GridLayout());
  rightTable=this.createSectionPart(rightComp,columnListB,DefaultMessagesImpl.getString("String_Node_Str"),hyperlinkTextRight);
  updateBindConnection(masterPage,tableViewerPosStack);
  columnsComparisonSection.setClient(sectionClient);
}

Fixed version (ground truth):
private void createAnalyzedColumnSetsSection(String mainTitle,String description){
  columnsComparisonSection=masterPage.createSection(form,parentComp,mainTitle,description);
  Composite sectionClient=toolkit.createComposite(columnsComparisonSection);
  sectionClient.setLayout(new GridLayout());
  if (showCheckButton) {
    checkComputeButton=new Button(sectionClient,SWT.CHECK);
    GridData layoutData=new GridData(GridData.FILL_BOTH);
    layoutData.horizontalAlignment=SWT.CENTER;
    checkComputeButton.setLayoutData(layoutData);
    checkComputeButton.setText(DefaultMessagesImpl.getString("String_Node_Str"));
    checkComputeButton.setToolTipText(DefaultMessagesImpl.getString("String_Node_Str"));
    checkComputeButton.addSelectionListener(new SelectionAdapter(){
      public void widgetSelected(      SelectionEvent e){
        masterPage.setDirty(true);
      }
    }
);
    checkComputeButton.setSelection(checkComputButton);
  }
  Composite columnComp=toolkit.createComposite(sectionClient);
  columnComp.setLayoutData(new GridData(GridData.FILL_BOTH));
  columnComp.setLayout(new GridLayout());
  Composite compareToplevelComp=toolkit.createComposite(columnComp);
  GridLayout compareToplevelLayout=new GridLayout();
  compareToplevelLayout.numColumns=2;
  compareToplevelComp.setLayout(compareToplevelLayout);
  masterPage.createConnBindWidget(compareToplevelComp);
  if (masterPage instanceof ColumnDependencyMasterDetailsPage) {
    columnReverseButtion=new Button(compareToplevelComp,SWT.NONE);
    columnReverseButtion.setText("String_Node_Str");
    columnReverseButtion.addMouseListener(new MouseListener(){
      public void mouseDoubleClick(      MouseEvent e){
      }
      public void mouseDown(      MouseEvent e){
        handleColumnReverseAction();
      }
      public void mouseUp(      MouseEvent e){
      }
    }
);
    columnReverseButtion.addKeyListener(new KeyListener(){
      public void keyPressed(      KeyEvent e){
        if (e.keyCode == 13) {
          handleColumnReverseAction();
        }
      }
      public void keyReleased(      KeyEvent e){
      }
    }
);
  }
  SashForm sashForm=new SashForm(sectionClient,SWT.NULL);
  sashForm.setLayoutData(new GridData(GridData.FILL_BOTH));
  String hyperlinkTextLeft=null;
  String hyperlinkTextRight=null;
  if (masterPage instanceof ColumnDependencyMasterDetailsPage) {
    hyperlinkTextLeft=DefaultMessagesImpl.getString("String_Node_Str");
    hyperlinkTextRight=DefaultMessagesImpl.getString("String_Node_Str");
  }
 else {
    hyperlinkTextLeft=DefaultMessagesImpl.getString("String_Node_Str");
    hyperlinkTextRight=DefaultMessagesImpl.getString("String_Node_Str");
  }
  Composite leftComp=toolkit.createComposite(sashForm);
  leftComp.setLayoutData(new GridData(GridData.FILL_BOTH));
  leftComp.setLayout(new GridLayout());
  leftTable=this.createSectionPart(leftComp,columnListA,DefaultMessagesImpl.getString("String_Node_Str"),hyperlinkTextLeft);
  Composite rightComp=toolkit.createComposite(sashForm);
  rightComp.setLayoutData(new GridData(GridData.FILL_BOTH));
  rightComp.setLayout(new GridLayout());
  rightTable=this.createSectionPart(rightComp,columnListB,DefaultMessagesImpl.getString("String_Node_Str"),hyperlinkTextRight);
  updateBindConnection(masterPage,tableViewerPosStack);
  columnsComparisonSection.setClient(sectionClient);
}