CloneSet835


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
6220.957method_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
16228
E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/org/apache/tools/ant/types/XMLCatalog.java
26265
E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/org/apache/tools/ant/types/XMLCatalog.java
Next
Last
Clone Instance
1
Line Count
6
Source Line
228
Source File
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);
}


First
Previous
Clone Instance
2
Line Count
6
Source Line
265
Source File
E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/org/apache/tools/ant/types/XMLCatalog.java

/**
 * 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);
}


Clone AbstractionParameter Count: 2Parameter Bindings

/**
     * 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 Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#130bb520]]
setClasspathRef 
12[[#130bb520]]
setCatalogPathRef 
21[[#130bb420]]
createClasspath 
22[[#130bb420]]
createCatalogPath