Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
3 | 2 | 2 | 0.955 | method_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 3 | 624 | E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/org/apache/tools/ant/AntClassLoader.java |
2 | 3 | 638 | 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(".") ? "": ".")); } |
| |||||
/** * 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(".") ? "": ".")); } |
| |||
/** * 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 Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#130d5180]] | addSystemPackageRoot |
1 | 2 | [[#130d5180]] | addLoaderPackageRoot |
2 | 1 | [[#130d5100]] | systemPackages |
2 | 2 | [[#130d5100]] | loaderPackages |