CloneSet3153


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
2530.963statement_sequence_member
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
12260
plugins/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/ui/monitors/ThreadMonitorManager.java
22263
plugins/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/ui/monitors/ThreadMonitorManager.java
32670
plugins/org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/ChangeParametersControl.java
42162
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/MultipleFolderSelectionDialog.java
5274
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/workingsets/RemoveWorkingSetElementAction.java
Clone Instance
1
Line Count
2
Source Line
260
Source File
plugins/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/ui/monitors/ThreadMonitorManager.java

                                                // is in a deadlock, set the elements of the back trace as 'in a deadlock'
                                                for (Iterator iter = threadStack.iterator(); iter.hasNext();) {
                                                        inDeadlock.add(iter.next());
                                                }


Clone Instance
2
Line Count
2
Source Line
263
Source File
plugins/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/ui/monitors/ThreadMonitorManager.java

                                                for (Iterator iter = monitorStack.iterator(); iter.hasNext();) {
                                                        inDeadlock.add(iter.next());
                                                }


Clone Instance
3
Line Count
2
Source Line
670
Source File
plugins/org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/ChangeParametersControl.java

                for (Iterator iter = res.iterator(); iter.hasNext();) {
                        elements.add(iter.next());
                }


Clone Instance
4
Line Count
2
Source Line
162
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/MultipleFolderSelectionDialog.java

                                        for (Iterator iter = fExisting.iterator(); iter.hasNext();) {
                                                fViewer.reveal(iter.next());
                                        }


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

                for (Iterator iter = selectedElements.iterator(); iter.hasNext();) {
                        elements.remove(iter.next());
                }


Clone AbstractionParameter Count: 3Parameter Bindings

// is in a deadlock, set the elements of the back trace as 'in a deadlock'
for (Iterator iter = [[#variablea4f000a0]].iterator(); iter.hasNext();) {
   [[#variablea4f00060]]. [[#variablea4f000c0]](iter.next());
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#a4f000a0]]
res 
12[[#a4f000a0]]
selectedElements 
13[[#a4f000a0]]
fExisting 
14[[#a4f000a0]]
threadStack 
15[[#a4f000a0]]
monitorStack 
21[[#a4f00060]]
elements 
22[[#a4f00060]]
elements 
23[[#a4f00060]]
fViewer 
24[[#a4f00060]]
inDeadlock 
25[[#a4f00060]]
inDeadlock 
31[[#a4f000c0]]
add 
32[[#a4f000c0]]
remove 
33[[#a4f000c0]]
reveal 
34[[#a4f000c0]]
add 
35[[#a4f000c0]]
add