CloneSet2587


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
8220.966statement_sequence[4]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
18509
plugins/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/ui/EditLogicalStructureDialog.java
28491
plugins/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/ui/JavaLogicalStructuresPreferencePage.java
Clone Instance
1
Line Count
8
Source Line
509
Source File
plugins/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/ui/EditLogicalStructureDialog.java

                        List selectedElements = selection.toList();
                        Object[] elements = fAttributesContentProvider.getElements();
                        Object newSelectedElement = null;
                        for (int i = 0; i < elements.length; i++) {
                                if ( !selectedElements.contains(elements[i])) {
                                        newSelectedElement = elements[i];
                                }
                                else   {
                                        break;
                                }
                        }


Clone Instance
2
Line Count
8
Source Line
491
Source File
plugins/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/ui/JavaLogicalStructuresPreferencePage.java

                        List selectedElements = selection.toList();
                        Object[] elements = fLogicalStructuresContentProvider.getElements(null);
                        Object newSelectedElement = null;
                        for (int i = 0; i < elements.length; i++) {
                                if ( !selectedElements.contains(elements[i])) {
                                        newSelectedElement = elements[i];
                                }
                                else   {
                                        break;
                                }
                        }


Clone AbstractionParameter Count: 2Parameter Bindings

List selectedElements = selection.toList();
Object[] elements = [[#variablea1638200]].getElements [[#variablea1639be0]];
Object newSelectedElement = null;
for (int i = 0; i < elements.length; i++) {
  if ( !selectedElements.contains(elements[i])) {
    newSelectedElement = elements[i];
  }
  else {
    break;
  }
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#a1638200]]
fAttributesContentProvider 
12[[#a1638200]]
fLogicalStructuresContentProvider 
21[[#a1639be0]]
() 
22[[#a1639be0]]
(null)