Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
2 | 2 | 1 | 0.971 | method_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 2 | 736 | E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/org/apache/tools/ant/taskdefs/Copy.java |
2 | 2 | 164 | E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/org/apache/tools/ant/util/SourceFileScanner.java |
| |||||
public Resource getResource(String name) { return new FileResource(toDir, name); } |
| |||||
/** * Returns resource information for a file at destination. * @param name relative path of file at destination. * @return data concerning a file whose relative path to destDir is name. * * @since Ant 1.5.2 */ public Resource getResource(String name) { return new FileResource(destDir, name); } |
| |||
/** * Returns resource information for a file at destination. * @param name relative path of file at destination. * @return data concerning a file whose relative path to destDir is name. * * @since Ant 1.5.2 */ public Resource getResource(String name) { return new FileResource( [[#variable1124c4c0]], name); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#1124c4c0]] | toDir |
1 | 2 | [[#1124c4c0]] | destDir |