CloneSet4239


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
7220.963statement_sequence[7]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1790
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/ProjectActionGroup.java
27142
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/ProjectActionGroup.java
Clone Instance
1
Line Count
7
Source Line
90
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/ProjectActionGroup.java

                provider.addSelectionChangedListener(fOpenAction);
                provider.addSelectionChangedListener(fCloseAction);
                provider.addSelectionChangedListener(fCloseUnrelatedAction);
                IWorkspace workspace = ResourcesPlugin.getWorkspace();
                workspace.addResourceChangeListener(fOpenAction);
                workspace.addResourceChangeListener(fCloseAction);
                workspace.addResourceChangeListener(fCloseUnrelatedAction);


Clone Instance
2
Line Count
7
Source Line
142
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/ProjectActionGroup.java

                provider.removeSelectionChangedListener(fOpenAction);
                provider.removeSelectionChangedListener(fCloseAction);
                provider.removeSelectionChangedListener(fCloseUnrelatedAction);
                IWorkspace workspace = ResourcesPlugin.getWorkspace();
                workspace.removeResourceChangeListener(fOpenAction);
                workspace.removeResourceChangeListener(fCloseAction);
                workspace.removeResourceChangeListener(fCloseUnrelatedAction);


Clone AbstractionParameter Count: 2Parameter Bindings

provider. [[#variable5e1578c0]](fOpenAction);
provider. [[#variable5e1578c0]](fCloseAction);
provider. [[#variable5e1578c0]](fCloseUnrelatedAction);
IWorkspace workspace = ResourcesPlugin.getWorkspace();
workspace. [[#variable99ea2860]](fOpenAction);
workspace. [[#variable99ea2860]](fCloseAction);
workspace. [[#variable99ea2860]](fCloseUnrelatedAction);
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#5e1578c0]]
addSelectionChangedListener 
12[[#5e1578c0]]
removeSelectionChangedListener 
21[[#99ea2860]]
addResourceChangeListener 
22[[#99ea2860]]
removeResourceChangeListener