Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
3 | 2 | 1 | 0.962 | method_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 3 | 522 | E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/org/apache/tools/ant/Project.java |
2 | 3 | 536 | 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); } |
| |||||
/** * 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); } |
| |||
/** * 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 Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#130797a0]] | setNewProperty |
1 | 2 | [[#130797a0]] | setUserProperty |