CloneSet739


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

/**
 * Set a property if no value currently exists. If the property
 * exists already, a message is logged and the method returns with
 * no other effect.
 *
 * @param name The name of property to set.
 *             Must not be <code>null</code>.
 * @param value The new value of the property.
 *              Must not be <code>null</code>.
 * @since 1.5
 */
public void setNewProperty(String name, String value) {
  PropertyHelper.getPropertyHelper(this ).setNewProperty(null, name, value);
}


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

/**
 * Set a user property, which cannot be overwritten by
 * set/unset property calls. Any previous value is overwritten.
 * @param name The name of property to set.
 *             Must not be <code>null</code>.
 * @param value The new value of the property.
 *              Must not be <code>null</code>.
 * @see #setProperty(String,String)
 */
public void setUserProperty(String name, String value) {
  PropertyHelper.getPropertyHelper(this ).setUserProperty(null, name, value);
}


Clone AbstractionParameter Count: 1Parameter Bindings

/**
     * Set a user property, which cannot be overwritten by
     * set/unset property calls. Any previous value is overwritten.
     * @param name The name of property to set.
     *             Must not be <code>null</code>.
     * @param value The new value of the property.
     *              Must not be <code>null</code>.
     * @see #setProperty(String,String)
     */
/**
     * Set a property if no value currently exists. If the property
     * exists already, a message is logged and the method returns with
     * no other effect.
     *
     * @param name The name of property to set.
     *             Must not be <code>null</code>.
     * @param value The new value of the property.
     *              Must not be <code>null</code>.
     * @since 1.5
     */
public void [[#variable130797a0]](String name, String value) {
  PropertyHelper.getPropertyHelper(this ). [[#variable130797a0]](null, name, value);
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#130797a0]]
setNewProperty 
12[[#130797a0]]
setUserProperty