CloneSet3027


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
7201.000statement_sequence_member
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
171122
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/browsing/JavaBrowsingPart.java
271071
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java
Clone Instance
1
Line Count
7
Source Line
1122
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/browsing/JavaBrowsingPart.java

                if (selection.size() == 1) {
                        IEditorPart part = EditorUtility.isOpenInEditor(obj);
                        if (part != null) {
                                IWorkbenchPage page = getSite().getPage();
                                page.bringToTop(part);
                                if (obj instanceof IJavaElement)
                                        EditorUtility.revealInEditor(part, (IJavaElement) obj);
                        }
                }


Clone Instance
2
Line Count
7
Source Line
1071
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java

                if (selection.size() == 1) {
                        IEditorPart part = EditorUtility.isOpenInEditor(obj);
                        if (part != null) {
                                IWorkbenchPage page = getSite().getPage();
                                page.bringToTop(part);
                                if (obj instanceof IJavaElement)
                                        EditorUtility.revealInEditor(part, (IJavaElement) obj);
                        }
                }


Clone AbstractionParameter Count: 0Parameter Bindings

if (selection.size() == 1) {
  IEditorPart part = EditorUtility.isOpenInEditor(obj);
  if (part != null) {
    IWorkbenchPage page = getSite().getPage();
    page.bringToTop(part);
    if (obj instanceof IJavaElement)
      EditorUtility.revealInEditor(part, (IJavaElement) obj);
  }
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
None