CloneSet1176


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
10220.957method_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
110640
E:/TSE/Projects-CloneDR/sql12/app/src/net/sourceforge/squirrel_sql/client/Application.java
210659
E:/TSE/Projects-CloneDR/sql12/app/src/net/sourceforge/squirrel_sql/client/Application.java
Next
Last
Clone Instance
1
Line Count
10
Source Line
640
Source File
E:/TSE/Projects-CloneDR/sql12/app/src/net/sourceforge/squirrel_sql/client/Application.java

/**
 * Add component to the main frames status bar.
 * 
 * @param comp
 *           Component to add.
 */
public void addToStatusBar(JComponent comp) {
  final MainFrame mf = getMainFrame();
  if (mf != null) {
    mf.addToStatusBar(comp);
  }
  else {
    throw new IllegalStateException(s_stringMgr.getString("Application.error.compadding"));
  }
}


First
Previous
Clone Instance
2
Line Count
10
Source Line
659
Source File
E:/TSE/Projects-CloneDR/sql12/app/src/net/sourceforge/squirrel_sql/client/Application.java

/**
 * Remove component to the main frames status bar.
 * 
 * @param comp
 *           Component to remove.
 */
public void removeFromStatusBar(JComponent comp) {
  final MainFrame mf = getMainFrame();
  if (mf != null) {
    mf.removeFromStatusBar(comp);
  }
  else {
    throw new IllegalStateException(s_stringMgr.getString("Application.error.compremoving"));
  }
}


Clone AbstractionParameter Count: 2Parameter Bindings

/**
         * Remove component to the main frames status bar.
         * 
         * @param comp
         *           Component to remove.
         */
/**
         * Add component to the main frames status bar.
         * 
         * @param comp
         *           Component to add.
         */
public void [[#variable1cdfc660]](JComponent comp) {
  final MainFrame mf = getMainFrame();
  if (mf != null) {
    mf. [[#variable1cdfc660]](comp);
  }
  else {
    throw new IllegalStateException(s_stringMgr.getString( [[#variable1cdfc280]]));
  }
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#1cdfc660]]
addToStatusBar 
12[[#1cdfc660]]
removeFromStatusBar 
21[[#1cdfc280]]
"Application.error.compadding" 
22[[#1cdfc280]]
"Application.error.compremoving"