Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
11 | 2 | 1 | 0.957 | class_body_declarations[2] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 11 | 157 | E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/org/apache/tools/ant/ComponentHelper.java |
2 | 11 | 102 | E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/org/apache/tools/ant/PropertyHelper.java |
| |||||
/** * Set the next chained component helper. * * @param next the next chained component helper. */ public void setNext(ComponentHelper next) { this.next = next; } /** * Get the next chained component helper. * * @return the next chained component helper. */ public ComponentHelper getNext() { return next; } |
| |||||
/** There are 2 ways to hook into property handling: * - you can replace the main PropertyHelper. The replacement is required * to support the same semantics (of course :-) * * - you can chain a property helper capable of storing some properties. * Again, you are required to respect the immutability semantics (at * least for non-dynamic properties) * * @param next the next property helper in the chain. */ public void setNext(PropertyHelper next) { this.next = next; } /** * Get the next property helper in the chain. * * @return the next property helper. */ public PropertyHelper getNext() { return next; } |
| |||
/** There are 2 ways to hook into property handling: * - you can replace the main PropertyHelper. The replacement is required * to support the same semantics (of course :-) * * - you can chain a property helper capable of storing some properties. * Again, you are required to respect the immutability semantics (at * least for non-dynamic properties) * * @param next the next property helper in the chain. */ /** * Set the next chained component helper. * * @param next the next chained component helper. */ public void setNext( [[#variable130ef3c0]] next) { this.next = next; } /** * Get the next property helper in the chain. * * @return the next property helper. */ /** * Get the next chained component helper. * * @return the next chained component helper. */ public [[#variable130ef3c0]] getNext() { return next; } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#130ef3c0]] | ComponentHelper |
1 | 2 | [[#130ef3c0]] | PropertyHelper |