CloneSet904


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
3220.955method_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
13624
E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/org/apache/tools/ant/AntClassLoader.java
23638
E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/org/apache/tools/ant/AntClassLoader.java
Next
Last
Clone Instance
1
Line Count
3
Source Line
624
Source File
E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/org/apache/tools/ant/AntClassLoader.java

/**
 * Adds a package root to the list of packages which must be loaded on the
 * parent loader.
 *
 * All subpackages are also included.
 *
 * @param packageRoot The root of all packages to be included.
 *                    Should not be <code>null</code>.
 */
public void addSystemPackageRoot(String packageRoot) {
  systemPackages.addElement(packageRoot + (packageRoot.endsWith(".") ? "": "."));
}


First
Previous
Clone Instance
2
Line Count
3
Source Line
638
Source File
E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/org/apache/tools/ant/AntClassLoader.java

/**
 * Adds a package root to the list of packages which must be loaded using
 * this loader.
 *
 * All subpackages are also included.
 *
 * @param packageRoot The root of all packages to be included.
 *                    Should not be <code>null</code>.
 */
public void addLoaderPackageRoot(String packageRoot) {
  loaderPackages.addElement(packageRoot + (packageRoot.endsWith(".") ? "": "."));
}


Clone AbstractionParameter Count: 2Parameter Bindings

/**
     * Adds a package root to the list of packages which must be loaded using
     * this loader.
     *
     * All subpackages are also included.
     *
     * @param packageRoot The root of all packages to be included.
     *                    Should not be <code>null</code>.
     */
/**
     * Adds a package root to the list of packages which must be loaded on the
     * parent loader.
     *
     * All subpackages are also included.
     *
     * @param packageRoot The root of all packages to be included.
     *                    Should not be <code>null</code>.
     */
public void [[#variable130d5180]](String packageRoot) {
   [[#variable130d5100]].addElement(packageRoot + (packageRoot.endsWith(".") ? "": "."));
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#130d5180]]
addSystemPackageRoot 
12[[#130d5180]]
addLoaderPackageRoot 
21[[#130d5100]]
systemPackages 
22[[#130d5100]]
loaderPackages