CloneSet3578


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
5220.989statement_sequence[3]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
15850
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/dialogfields/ListDialogField.java
25594
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/workingsets/WorkingSetConfigurationDialog.java
Clone Instance
1
Line Count
5
Source Line
850
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/dialogfields/ListDialogField.java

                        int[] indc = fTable.getTable().getSelectionIndices();
                        int k = fElements.size() - 1;
                        for (int i = indc.length - 1; i >= 0; i-- ,k--) {
                                if (indc[i] != k) {
                                        return true;
                                }
                        }


Clone Instance
2
Line Count
5
Source Line
594
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/workingsets/WorkingSetConfigurationDialog.java

                int[] indc = fTableViewer.getTable().getSelectionIndices();
                int k = fAllWorkingSets.size() - 1;
                for (int i = indc.length - 1; i >= 0; i-- ,k--) {
                        if (indc[i] != k) {
                                return true;
                        }
                }


Clone AbstractionParameter Count: 2Parameter Bindings

int[] indc = [[#variable9d483940]].getTable().getSelectionIndices();
int k = [[#variable9e7cc2e0]].size() - 1;
for (int i = indc.length - 1; i >= 0; i-- , k--) {
  if (indc[i] != k) {
    return true;
  }
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#9d483940]]
fTable 
12[[#9d483940]]
fTableViewer 
21[[#9e7cc2e0]]
fElements 
22[[#9e7cc2e0]]
fAllWorkingSets