CloneSet1955


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
7201.000method_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
115155
E:/TSE/Projects-CloneDR/sql12/app/src/net/sourceforge/squirrel_sql/client/gui/session/SessionPanel.java
27531
E:/TSE/Projects-CloneDR/sql12/app/src/net/sourceforge/squirrel_sql/client/gui/session/SessionPanel.java
Next
Last
Clone Instance
1
Line Count
15
Source Line
155
Source File
E:/TSE/Projects-CloneDR/sql12/app/src/net/sourceforge/squirrel_sql/client/gui/session/SessionPanel.java

//      public void setVisible(boolean value)
//      {
public void addNotify() {
  //              super.setVisible(value);
  super.addNotify();
  //              if (!_hasBeenVisible && value == true)
  if ( !_hasBeenVisible) {
    _hasBeenVisible = true;
    //                      _msgSplit.setDividerLocation(0.9d);
    //                      _msgSplit.setResizeWeight(1.0);
    // Done this late so that plugins have time to register expanders
    // with the object tree prior to it being built.
    //                      getSession().getObjectTreeAPI(_app.getDummyAppPlugin()).refreshTree();
    _mainTabPane.getObjectTreePanel().refreshTree();
  }
}


First
Previous
Clone Instance
2
Line Count
7
Source Line
531
Source File
E:/TSE/Projects-CloneDR/sql12/app/src/net/sourceforge/squirrel_sql/client/gui/session/SessionPanel.java

public void addNotify() {
  super.addNotify();
  if ( !_hasBeenVisible) {
    _hasBeenVisible = true;
    _mainTabPane.getObjectTreePanel().refreshTree();
  }
}


Clone AbstractionParameter Count: 0Parameter Bindings

//      public void setVisible(boolean value)
//      {
public void addNotify() {
  //              super.setVisible(value);
  super.addNotify();
  //              if (!_hasBeenVisible && value == true)
  if ( !_hasBeenVisible) {
    _hasBeenVisible = true;
    //                      _msgSplit.setDividerLocation(0.9d);
    //                      _msgSplit.setResizeWeight(1.0);
    // Done this late so that plugins have time to register expanders
    // with the object tree prior to it being built.
    //                      getSession().getObjectTreeAPI(_app.getDummyAppPlugin()).refreshTree();
    _mainTabPane.getObjectTreePanel().refreshTree();
  }
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
None