CloneSet5219


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
8210.993class_body_declarations[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1862
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/EditorInputAdapterFactory.java
21056
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/LogicalPackageAdapterFactory.java
Clone Instance
1
Line Count
8
Source Line
62
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/EditorInputAdapterFactory.java

        private void updateLazyLoadedAdapters() {
                if (fSearchPageScoreComputer == null && SearchUtil.isSearchPlugInActivated())
                        createSearchPageScoreComputer();
        }

        private void createSearchPageScoreComputer() {
                fSearchPageScoreComputer = new JavaSearchPageScoreComputer();
                PROPERTIES = new Class[] {
                                          ISearchPageScoreComputer.class ,IJavaElement.class
                                         };
        }


Clone Instance
2
Line Count
10
Source Line
56
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/LogicalPackageAdapterFactory.java

        private void updateLazyLoadedAdapters() {
                if (fSearchPageScoreComputer == null && SearchUtil.isSearchPlugInActivated())
                        createSearchPageScoreComputer();
        }

        private void createSearchPageScoreComputer() {
                fSearchPageScoreComputer = new JavaSearchPageScoreComputer();
                PROPERTIES = new Class[] {
                         ISearchPageScoreComputer.class ,
                         ResourceMapping.class
                                         };
        }


Clone AbstractionParameter Count: 1Parameter Bindings

private void updateLazyLoadedAdapters() {
  if (fSearchPageScoreComputer == null && SearchUtil.isSearchPlugInActivated())
    createSearchPageScoreComputer();
}

private void createSearchPageScoreComputer() {
  fSearchPageScoreComputer = new JavaSearchPageScoreComputer();
  PROPERTIES = new Class[] {
                             ISearchPageScoreComputer.class ,
                              [[#variableb5190660]].class
                           };
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#b5190660]]
IJavaElement 
12[[#b5190660]]
ResourceMapping