CloneSet5693


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
7220.976statement_sequence[4]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
17273
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/ImportOrganizeConfigurationBlock.java
27215
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/TypeFilterPreferencePage.java
Clone Instance
1
Line Count
7
Source Line
273
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/ImportOrganizeConfigurationBlock.java

                        if (selected.isEmpty()) {
                                return;
                        }
                        ImportOrderEntry editedEntry = (ImportOrderEntry) selected.get(0);

                        List existing = fOrderListField.getElements();
                        existing.remove(editedEntry);


Clone Instance
2
Line Count
7
Source Line
215
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/TypeFilterPreferencePage.java

                        if (selected.isEmpty()) {
                                return;
                        }
                        String editedEntry = (String) selected.get(0);

                        List existing = fFilterListField.getElements();
                        existing.remove(editedEntry);


Clone AbstractionParameter Count: 2Parameter Bindings

if (selected.isEmpty()) {
  return;
}
 [[#variable926179c0]] editedEntry = ( [[#variable926179c0]]) selected.get(0);
List existing = [[#variable926178a0]].getElements();
existing.remove(editedEntry);
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#926179c0]]
String 
12[[#926179c0]]
ImportOrderEntry 
21[[#926178a0]]
fFilterListField 
22[[#926178a0]]
fOrderListField