CloneSet8932


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
11201.000executable_statement
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
111230
plugins/org.eclipse.jdt.core/search/org/eclipse/jdt/internal/core/search/HierarchyScope.java
211270
plugins/org.eclipse.jdt.core/search/org/eclipse/jdt/internal/core/search/HierarchyScope.java
Clone Instance
1
Line Count
11
Source Line
230
Source File
plugins/org.eclipse.jdt.core/search/org/eclipse/jdt/internal/core/search/HierarchyScope.java

                               {
                                if (this.needsRefresh) {
                                        try {
                                                this.initialize();
                                        } catch (JavaModelException e) {
                                                return false;
                                          }
                                }
                                else   {
                                        // the scope is used only to find enclosing projects and jars
                                        // clients is responsible for filtering out elements not in the hierarchy (see SearchEngine)
                                        return true;
                                }
                               }


Clone Instance
2
Line Count
11
Source Line
270
Source File
plugins/org.eclipse.jdt.core/search/org/eclipse/jdt/internal/core/search/HierarchyScope.java

                               {
                                if (this.needsRefresh) {
                                        try {
                                                this.initialize();
                                        } catch (JavaModelException e) {
                                                return false;
                                          }
                                }
                                else   {
                                        // the scope is used only to find enclosing projects and jars
                                        // clients is responsible for filtering out elements not in the hierarchy (see SearchEngine)
                                        return true;
                                }
                               }


Clone AbstractionParameter Count: 0Parameter Bindings

{
  if (this.needsRefresh) {
    try {
      this.initialize();
    }
    catch (JavaModelException e) {
      return false;
    }
  }
  else {
    // the scope is used only to find enclosing projects and jars
    // clients is responsible for filtering out elements not in the hierarchy (see SearchEngine)
    return true;
  }
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
None