CloneSet3714


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
4240.956statement_sequence_member
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
14498
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/NewJavaProjectPreferencePage.java
24510
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/NewJavaProjectPreferencePage.java
Clone Instance
1
Line Count
4
Source Line
498
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/NewJavaProjectPreferencePage.java

                for (int i = 0; i < fCheckBoxes.size(); i++) {
                        Button button = (Button) fCheckBoxes.get(i);
                        String key = (String) button.getData();
                        store.setValue(key, button.getSelection());
                }


Clone Instance
2
Line Count
4
Source Line
510
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/NewJavaProjectPreferencePage.java

                for (int i = 0; i < fTextControls.size(); i++) {
                        Text text = (Text) fTextControls.get(i);
                        String key = (String) text.getData();
                        store.setValue(key, text.getText());
                }


Clone AbstractionParameter Count: 4Parameter Bindings

for (int i = 0; i <  [[#variablea4e6c340]].size(); i++) {
   [[#variablea4e6c2c0]]  [[#variablea4e6c240]]= ( [[#variablea4e6c2c0]])  [[#variablea4e6c340]].get(i);
  String key = (String)  [[#variablea4e6c240]].getData();
  store.setValue(key,  [[#variablea4e6c240]]. [[#variablea4e6c1c0]]());
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#a4e6c340]]
fTextControls 
12[[#a4e6c340]]
fCheckBoxes 
21[[#a4e6c2c0]]
Text 
22[[#a4e6c2c0]]
Button 
31[[#a4e6c240]]
text 
32[[#a4e6c240]]
button 
41[[#a4e6c1c0]]
getText 
42[[#a4e6c1c0]]
getSelection