CloneSet3351


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
10240.979block
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
110271
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/EditorUtility.java
210283
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/EditorUtility.java
Clone Instance
1
Line Count
10
Source Line
271
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/EditorUtility.java

                                                                                                       {
                if (file != null) {
                        IWorkbenchPage p = JavaPlugin.getActivePage();
                        if (p != null) {
                                IEditorPart editorPart = IDE.openEditor(p, file, activate);
                                initializeHighlightRange(editorPart);
                                return editorPart;
                        }
                }
                return null;
                                                                                                       }


Clone Instance
2
Line Count
10
Source Line
283
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/EditorUtility.java

                                                                                                                                {
                if (input != null) {
                        IWorkbenchPage p = JavaPlugin.getActivePage();
                        if (p != null) {
                                IEditorPart editorPart = p.openEditor(input, editorID, activate);
                                initializeHighlightRange(editorPart);
                                return editorPart;
                        }
                }
                return null;
                                                                                                                                }


Clone AbstractionParameter Count: 4Parameter Bindings

{
  if ( [[#variableb37f2d00]]!= null) {
    IWorkbenchPage p = JavaPlugin.getActivePage();
    if (p != null) {
      IEditorPart editorPart = [[#variableb37f2ca0]].openEditor( [[#variableb37f2c00]],  [[#variableb37f2b80]], activate);
      initializeHighlightRange(editorPart);
      return editorPart;
    }
  }
  return null;
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#b37f2d00]]
file 
12[[#b37f2d00]]
input 
21[[#b37f2ca0]]
IDE 
22[[#b37f2ca0]]
p 
31[[#b37f2c00]]
p 
32[[#b37f2c00]]
input 
41[[#b37f2b80]]
file 
42[[#b37f2b80]]
editorID