CloneSet1838


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
7220.953method_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
17217
E:/TSE/Projects-CloneDR/sql12/app/src/net/sourceforge/squirrel_sql/client/gui/mainframe/MainFrame.java
27231
E:/TSE/Projects-CloneDR/sql12/app/src/net/sourceforge/squirrel_sql/client/gui/mainframe/MainFrame.java
Next
Last
Clone Instance
1
Line Count
7
Source Line
217
Source File
E:/TSE/Projects-CloneDR/sql12/app/src/net/sourceforge/squirrel_sql/client/gui/mainframe/MainFrame.java

/**
 * Add component to the status bar.
 *
 * @param       comp    Component to add.
 *
 * @throws      IllegalArgumentException
 *                      Thrown if <TT>null</TT> <TT>JComponent</TT> passed.
 */
public void addToStatusBar(JComponent comp) {
  if (comp == null) {
    throw new IllegalArgumentException("JComponent == null");
  }
  _statusBar.addJComponent(comp);
}


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

/**
 * Remove component to the main frames status bar.
 *
 * @param       comp    Component to remove.
 */
public void removeFromStatusBar(JComponent comp) {
  if (comp == null) {
    throw new IllegalArgumentException("JComponent == null");
  }
  _statusBar.remove(comp);
}


Clone AbstractionParameter Count: 2Parameter Bindings

/**
         * Remove component to the main frames status bar.
         *
         * @param       comp    Component to remove.
         */
/**
         * Add component to the status bar.
         *
         * @param       comp    Component to add.
         *
         * @throws      IllegalArgumentException
         *                      Thrown if <TT>null</TT> <TT>JComponent</TT> passed.
         */
public void [[#variable1c99e500]](JComponent comp) {
  if (comp == null) {
    throw new IllegalArgumentException("JComponent == null");
  }
  _statusBar. [[#variable1c99e420]](comp);
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#1c99e500]]
addToStatusBar 
12[[#1c99e500]]
removeFromStatusBar 
21[[#1c99e420]]
addJComponent 
22[[#1c99e420]]
remove