CloneSet2494


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
11210.992class_body_declarations[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
111297
plugins/org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/ExtractConstantWizard.java
211287
plugins/org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/reorg/RenameInputWizardPage.java
Clone Instance
1
Line Count
11
Source Line
297
Source File
plugins/org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/ExtractConstantWizard.java

                private boolean getBooleanSetting(String key, boolean defaultValue) {
                        String update = getRefactoringSettings().get(key);
                        if (update != null)
                                return Boolean.valueOf(update).booleanValue();
                        else
                                return defaultValue;
                }

                private void saveBooleanSetting(String key, Button checkBox) {
                        if (checkBox != null)
                                getRefactoringSettings().put(key, checkBox.getSelection());
                }


Clone Instance
2
Line Count
11
Source Line
287
Source File
plugins/org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/reorg/RenameInputWizardPage.java

        protected boolean getBooleanSetting(String key, boolean defaultValue) {
                String update = getRefactoringSettings().get(key);
                if (update != null)
                        return Boolean.valueOf(update).booleanValue();
                else
                        return defaultValue;
        }

        protected void saveBooleanSetting(String key, Button checkBox) {
                if (checkBox != null)
                        getRefactoringSettings().put(key, checkBox.getSelection());
        }


Clone AbstractionParameter Count: 1Parameter Bindings

 [[#variablea39ad820]]boolean getBooleanSetting(String key, boolean defaultValue) {
  String update = getRefactoringSettings().get(key);
  if (update != null)
    return Boolean.valueOf(update).booleanValue();
  else
    return defaultValue;
}

 [[#variablea39ad820]]void saveBooleanSetting(String key, Button checkBox) {
  if (checkBox != null)
    getRefactoringSettings().put(key, checkBox.getSelection());
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#a39ad820]]
private 
12[[#a39ad820]]
protected