CloneSet3961


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
4201.000statement_sequence[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
14111
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/util/HandleFactory.java
24144
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/util/HandleFactory.java
Clone Instance
1
Line Count
4
Source Line
111
Source File
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/util/HandleFactory.java

                        IPackageFragment pkgFragment = (IPackageFragment) this.packageHandles.get(pkgName);
                        if (pkgFragment == null) {
                                pkgFragment = ((PackageFragmentRoot) this.lastPkgFragmentRoot).getPackageFragment(pkgName);
                                this.packageHandles.put(pkgName, pkgFragment);
                        }


Clone Instance
2
Line Count
4
Source Line
144
Source File
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/util/HandleFactory.java

                        IPackageFragment pkgFragment = (IPackageFragment) this.packageHandles.get(pkgName);
                        if (pkgFragment == null) {
                                pkgFragment = ((PackageFragmentRoot) this.lastPkgFragmentRoot).getPackageFragment(pkgName);
                                this.packageHandles.put(pkgName, pkgFragment);
                        }


Clone AbstractionParameter Count: 0Parameter Bindings

IPackageFragment pkgFragment = (IPackageFragment) this.packageHandles.get(pkgName);
if (pkgFragment == null) {
  pkgFragment = ((PackageFragmentRoot) this.lastPkgFragmentRoot).getPackageFragment(pkgName);
  this.packageHandles.put(pkgName, pkgFragment);
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
None