Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
4 | 2 | 1 | 0.986 | method_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 4 | 402 | E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/org/apache/tools/ant/Target.java |
2 | 4 | 417 | E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/org/apache/tools/ant/Target.java |
| |||||
/** * Replaces all occurrences of the given task in the list * of children with the replacement data type wrapper. * * @param el The task to replace. * Must not be <code>null</code>. * @param o The data type wrapper to replace <code>el</code> with. */ void replaceChild(Task el, RuntimeConfigurable o) { int index; while ((index = children.indexOf(el)) >= 0) { children.set(index, o); } } |
| |||||
/** * Replaces all occurrences of the given task in the list * of children with the replacement task. * * @param el The task to replace. * Must not be <code>null</code>. * @param o The task to replace <code>el</code> with. */ void replaceChild(Task el, Task o) { int index; while ((index = children.indexOf(el)) >= 0) { children.set(index, o); } } |
| |||
/** * Replaces all occurrences of the given task in the list * of children with the replacement data type wrapper. * * @param el The task to replace. * Must not be <code>null</code>. * @param o The data type wrapper to replace <code>el</code> with. */ /** * Replaces all occurrences of the given task in the list * of children with the replacement task. * * @param el The task to replace. * Must not be <code>null</code>. * @param o The task to replace <code>el</code> with. */ void replaceChild(Task el, [[#variable13145f00]] o) { int index; while ((index = children.indexOf(el)) >= 0) { children.set(index, o); } } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#13145f00]] | RuntimeConfigurable |
1 | 2 | [[#13145f00]] | Task |