CloneSet8397


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
3201.000statement_sequence[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
13592
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/dialogfields/ListDialogField.java
23534
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/dialogfields/TreeListDialogField.java
Clone Instance
1
Line Count
3
Source Line
592
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/dialogfields/ListDialogField.java

                                List selected = getSelectedElements();
                                if (selected.remove(oldElement)) {
                                        selected.add(newElement);
                                }


Clone Instance
2
Line Count
3
Source Line
534
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/dialogfields/TreeListDialogField.java

                                List selected = getSelectedElements();
                                if (selected.remove(oldElement)) {
                                        selected.add(newElement);
                                }


Clone AbstractionParameter Count: 0Parameter Bindings

List selected = getSelectedElements();
if (selected.remove(oldElement)) {
  selected.add(newElement);
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
None