CloneSet192


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
13310.988class_body_declarations[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
113337
E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/org/apache/tools/ant/taskdefs/MacroDef.java
213440
E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/org/apache/tools/ant/taskdefs/MacroDef.java
315556
E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/org/apache/tools/ant/taskdefs/MacroDef.java
Next
Last
Clone Instance
1
Line Count
13
Source Line
337
Source File
E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/org/apache/tools/ant/taskdefs/MacroDef.java

/**
 * The name of the attribute.
 *
 * @param name the name of the attribute
 */
public void setName(String name) {
  if ( !isValidName(name)) {
    throw new BuildException("Illegal name [" + name + "] for attribute");
  }
  this.name = name.toLowerCase(Locale.US);
}

/**
 * @return the name of the attribute
 */
public String getName() {
  return name;
}


Next
Previous
Clone Instance
2
Line Count
13
Source Line
440
Source File
E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/org/apache/tools/ant/taskdefs/MacroDef.java

/**
 * The name of the attribute.
 *
 * @param name the name of the attribute
 */
public void setName(String name) {
  if ( !isValidName(name)) {
    throw new BuildException("Illegal name [" + name + "] for attribute");
  }
  this.name = name.toLowerCase(Locale.US);
}

/**
 * @return the name of the attribute
 */
public String getName() {
  return name;
}


First
Previous
Clone Instance
3
Line Count
15
Source Line
556
Source File
E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/org/apache/tools/ant/taskdefs/MacroDef.java

/**
 * Sets the name of this element.
 *
 * @param name the name of the element
 */
public void setName(String name) {
  if ( !isValidName(name)) {
    throw new BuildException("Illegal name [" + name + "] for macro element");
  }
  this.name = name.toLowerCase(Locale.US);
}

/**
 * Gets the name of this element.
 *
 * @return the name of the element.
 */
public String getName() {
  return name;
}


Clone AbstractionParameter Count: 1Parameter Bindings

/**
         * The name of the attribute.
         *
         * @param name the name of the attribute
         */
/**
         * Sets the name of this element.
         *
         * @param name the name of the element
         */
public void setName(String name) {
  if ( !isValidName(name)) {
    throw new BuildException("Illegal name [" + name +  [[#variable1319fce0]]);
  }
  this.name = name.toLowerCase(Locale.US);
}

/**
         * @return the name of the attribute
         */
/**
         * Gets the name of this element.
         *
         * @return the name of the element.
         */
public String getName() {
  return name;
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#1319fce0]]
"] for attribute" 
12[[#1319fce0]]
"] for attribute" 
13[[#1319fce0]]
"] for macro element"