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.968 | method_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 3 | 580 | E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/org/apache/tools/ant/Project.java |
2 | 3 | 614 | E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/org/apache/tools/ant/Project.java |
| |||||
/** * Return the value of a property, if it is set. * * @param propertyName The name of the property. * May be <code>null</code>, in which case * the return value is also <code>null</code>. * @return the property value, or <code>null</code> for no match * or if a <code>null</code> name is provided. */ public String getProperty(String propertyName) { PropertyHelper ph = PropertyHelper.getPropertyHelper(this ); return (String) ph.getProperty(null, propertyName); } |
| |||||
/** * Return the value of a user property, if it is set. * * @param propertyName The name of the property. * May be <code>null</code>, in which case * the return value is also <code>null</code>. * @return the property value, or <code>null</code> for no match * or if a <code>null</code> name is provided. */ public String getUserProperty(String propertyName) { PropertyHelper ph = PropertyHelper.getPropertyHelper(this ); return (String) ph.getUserProperty(null, propertyName); } |
| |||
/** * Return the value of a user property, if it is set. * * @param propertyName The name of the property. * May be <code>null</code>, in which case * the return value is also <code>null</code>. * @return the property value, or <code>null</code> for no match * or if a <code>null</code> name is provided. */ /** * Return the value of a property, if it is set. * * @param propertyName The name of the property. * May be <code>null</code>, in which case * the return value is also <code>null</code>. * @return the property value, or <code>null</code> for no match * or if a <code>null</code> name is provided. */ public String [[#variable13000e80]](String propertyName) { PropertyHelper ph = PropertyHelper.getPropertyHelper(this ); return (String) ph. [[#variable13000e80]](null, propertyName); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#13000e80]] | getProperty |
1 | 2 | [[#13000e80]] | getUserProperty |