CloneSet7436


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
3210.990statement_sequence[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
13191
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompoundEditExitStrategy.java
23197
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompoundEditExitStrategy.java
Clone Instance
1
Line Count
3
Source Line
191
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompoundEditExitStrategy.java

                ICommandService commandService = (ICommandService) PlatformUI.getWorkbench().getAdapter(ICommandService.class );
                if (commandService != null)
                        commandService.addExecutionListener(fEventListener);


Clone Instance
2
Line Count
3
Source Line
197
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompoundEditExitStrategy.java

                ICommandService commandService = (ICommandService) PlatformUI.getWorkbench().getAdapter(ICommandService.class );
                if (commandService != null)
                        commandService.removeExecutionListener(fEventListener);


Clone AbstractionParameter Count: 1Parameter Bindings

ICommandService commandService = (ICommandService) PlatformUI.getWorkbench().getAdapter(ICommandService.class );
if (commandService != null)
  commandService. [[#variable58881700]](fEventListener);
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#58881700]]
addExecutionListener 
12[[#58881700]]
removeExecutionListener