CloneSet3344


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

                        // filter duplicated
                        ArrayList elementsToAdd = new ArrayList(nElements);

                        for (int i = 0; i < nElements; i++) {
                                Object elem = elements.get(i);
                                if ( !fElements.contains(elem)) {
                                        elementsToAdd.add(elem);
                                }
                        }


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

                        // filter duplicated
                        ArrayList elementsToAdd = new ArrayList(nElements);

                        for (int i = 0; i < nElements; i++) {
                                Object elem = elements.get(i);
                                if ( !fElements.contains(elem)) {
                                        elementsToAdd.add(elem);
                                }
                        }


Clone AbstractionParameter Count: 0Parameter Bindings

// filter duplicated
ArrayList elementsToAdd = new ArrayList(nElements);
for (int i = 0; i < nElements; i++) {
  Object elem = elements.get(i);
  if ( !fElements.contains(elem)) {
    elementsToAdd.add(elem);
  }
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
None