public void setClasspath(Path classpath) { helper.setClasspath(classpath); } /** * Classpath to be used when searching for classes and resources. * * @return an empty Path instance to be configured by Ant. */ public Path createClasspath() { return helper.createClasspath(); } /** * Set the classpath by reference. * * @param r a Reference to a Path instance to be used as the classpath * value. */ public void setClasspathRef(Reference r) { helper.setClasspathRef(r);
public void setClasspath(Path classpath) { helper.setClasspath(classpath); } /** * Classpath to be used when searching for classes and resources. * * @return an empty Path instance to be configured by Ant. */ public Path createClasspath() { return helper.createClasspath(); } /** * Set the classpath by reference. * * @param r a Reference to a Path instance to be used as the classpath * value. */ public void setClasspathRef(Reference r) { helper.setClasspathRef(r);
Clone fragments detected by clone detection tool
File path: /apache-ant-1.7.0/src/org/apache/tools/ant/taskdefs/optional/Script.java File path: /apache-ant-1.7.0/src/org/apache/tools/ant/types/optional/ScriptSelector.java
Method name: Method name:
Number of AST nodes: 0 Number of AST nodes: 0
1
public void setClasspath(Path classpath) {
1
public void setClasspath(Path classpath) {
2
        helper.setClasspath(classpath);
2
        helper.setClasspath(classpath);
3
    }
3
    }
4
    /**
4
    /**
5
     * Classpath to be used when searching for classes and resources.
5
     * Classpath to be used when searching for classes and resources.
6
     *
6
     *
7
     * @return an empty Path instance to be configured by Ant.
7
     * @return an empty Path instance to be configured by Ant.
8
     */
8
     */
9
    public Path createClasspath() {
9
    public Path createClasspath() {
10
        return helper.createClasspath();
10
        return helper.createClasspath();
11
    }
11
    }
12
    /**
12
    /**
13
     * Set the classpath by reference.
13
     * Set the classpath by reference.
14
     *
14
     *
15
     * @param r a Reference to a Path instance to be used as the classpath
15
     * @param r a Reference to a Path instance to be used as the classpath
16
     *          value.
16
     *          value.
17
     */
17
     */
18
    public void setClasspathRef(Reference r) {
18
    public void setClasspathRef(Reference r) {
19
        helper.setClasspathRef(r);
19
        helper.setClasspathRef(r);
Summary
Number of common nesting structure subtrees0
Number of refactorable cases0
Number of non-refactorable cases0
Time elapsed for finding largest common nesting structure subtrees (ms)0.0
Clones location
Number of node comparisons0