Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
6 | 2 | 2 | 0.957 | method_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 6 | 228 | E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/org/apache/tools/ant/types/XMLCatalog.java |
2 | 6 | 265 | E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/org/apache/tools/ant/types/XMLCatalog.java |
| |||||
/** * Allows classpath reference. Not allowed if this catalog is * itself a reference to another catalog -- that is, a catalog * cannot both refer to another <em>and</em> contain elements or * other attributes. * * @param r an Ant reference containing a classpath. */ public void setClasspathRef(Reference r) { if (isReference()) { throw tooManyAttributes(); } createClasspath().setRefid(r); setChecked(false); } |
| |||||
/** * Allows catalogpath reference. Not allowed if this catalog is * itself a reference to another catalog -- that is, a catalog * cannot both refer to another <em>and</em> contain elements or * other attributes. * * @param r an Ant reference containing a classpath to be used as * the catalog path. */ public void setCatalogPathRef(Reference r) { if (isReference()) { throw tooManyAttributes(); } createCatalogPath().setRefid(r); setChecked(false); } |
| |||
/** * Allows catalogpath reference. Not allowed if this catalog is * itself a reference to another catalog -- that is, a catalog * cannot both refer to another <em>and</em> contain elements or * other attributes. * * @param r an Ant reference containing a classpath to be used as * the catalog path. */ /** * Allows classpath reference. Not allowed if this catalog is * itself a reference to another catalog -- that is, a catalog * cannot both refer to another <em>and</em> contain elements or * other attributes. * * @param r an Ant reference containing a classpath. */ public void [[#variable130bb520]](Reference r) { if (isReference()) { throw tooManyAttributes(); } [[#variable130bb420]]().setRefid(r); setChecked(false); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#130bb520]] | setClasspathRef |
1 | 2 | [[#130bb520]] | setCatalogPathRef |
2 | 1 | [[#130bb420]] | createClasspath |
2 | 2 | [[#130bb420]] | createCatalogPath |