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.960 | method_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 3 | 650 | E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/org/apache/tools/ant/Project.java |
2 | 3 | 667 | E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/org/apache/tools/ant/Project.java |
| |||||
/** * Copy all user properties that have been set on the command * line or a GUI tool from this instance to the Project instance * given as the argument. * * <p>To copy all "user" properties, you will also have to call * {@link #copyInheritedProperties copyInheritedProperties}.</p> * * @param other the project to copy the properties to. Must not be null. * * @since Ant 1.5 */ public void copyUserProperties(Project other) { PropertyHelper ph = PropertyHelper.getPropertyHelper(this ); ph.copyUserProperties(other); } |
| |||||
/** * Copy all user properties that have not been set on the * command line or a GUI tool from this instance to the Project * instance given as the argument. * * <p>To copy all "user" properties, you will also have to call * {@link #copyUserProperties copyUserProperties}.</p> * * @param other the project to copy the properties to. Must not be null. * * @since Ant 1.5 */ public void copyInheritedProperties(Project other) { PropertyHelper ph = PropertyHelper.getPropertyHelper(this ); ph.copyInheritedProperties(other); } |
| |||
/** * Copy all user properties that have not been set on the * command line or a GUI tool from this instance to the Project * instance given as the argument. * * <p>To copy all "user" properties, you will also have to call * {@link #copyUserProperties copyUserProperties}.</p> * * @param other the project to copy the properties to. Must not be null. * * @since Ant 1.5 */ /** * Copy all user properties that have been set on the command * line or a GUI tool from this instance to the Project instance * given as the argument. * * <p>To copy all "user" properties, you will also have to call * {@link #copyInheritedProperties copyInheritedProperties}.</p> * * @param other the project to copy the properties to. Must not be null. * * @since Ant 1.5 */ public void [[#variable1309b6a0]](Project other) { PropertyHelper ph = PropertyHelper.getPropertyHelper(this ); ph. [[#variable1309b6a0]](other); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#1309b6a0]] | copyUserProperties |
1 | 2 | [[#1309b6a0]] | copyInheritedProperties |