CloneSet1689


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
13210.958class_body_declarations[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
113201
E:/TSE/Projects-CloneDR/sql12/plugins/laf/src/net/sourceforge/squirrel_sql/plugins/laf/MetalLookAndFeelController.java
213109
E:/TSE/Projects-CloneDR/sql12/plugins/laf/src/net/sourceforge/squirrel_sql/plugins/laf/PlasticLookAndFeelController.java
Next
Last
Clone Instance
1
Line Count
13
Source Line
201
Source File
E:/TSE/Projects-CloneDR/sql12/plugins/laf/src/net/sourceforge/squirrel_sql/plugins/laf/MetalLookAndFeelController.java

/**
 * Retrieve the name of the current theme.
 * 
 * @return      Name of the current theme.
 */
String getCurrentThemeName() {
  return _currentThemePrefs.getThemeName();
}

/**
 * Set the current theme name.
 * 
 * @param name          name of the current theme.
 */
void setCurrentThemeName(String name) {
  _currentThemePrefs.setThemeName(name);
}


First
Previous
Clone Instance
2
Line Count
13
Source Line
109
Source File
E:/TSE/Projects-CloneDR/sql12/plugins/laf/src/net/sourceforge/squirrel_sql/plugins/laf/PlasticLookAndFeelController.java

/**
 * Retrieve the name of the current theme.
 * 
 * @return      Name of the current theme.
 */
String getCurrentThemeName() {
  return _prefs.getThemeName();
}

/**
 * Set the current theme name.
 * 
 * @param name          name of the current theme.
 */
void setCurrentThemeName(String name) {
  _prefs.setThemeName(name);
}


Clone AbstractionParameter Count: 1Parameter Bindings

/**
         * Retrieve the name of the current theme.
         * 
         * @return      Name of the current theme.
         */
String getCurrentThemeName() {
  return [[#variable1c95a180]].getThemeName();
}

/**
         * Set the current theme name.
         * 
         * @param name          name of the current theme.
         */
void setCurrentThemeName(String name) {
   [[#variable1c95a180]].setThemeName(name);
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#1c95a180]]
_currentThemePrefs 
12[[#1c95a180]]
_prefs