public Path createClasspath() { return getCommandLine().createClasspath(getProject()).createPath(); } /** * Add a path to the bootclasspath. * @since Ant 1.6 * * @return created bootclasspath. */ public Path createBootclasspath() { return getCommandLine().createBootclasspath(getProject()).createPath()
public Path createClasspath() { return getCommandline().createClasspath(getProject()).createPath(); } /** * Adds a path to the bootclasspath. * @return reference to the bootclasspath in the embedded java command line * @since Ant 1.6 */ public Path createBootclasspath() { return getCommandline().createBootclasspath(getProject()).createPath()
Clone fragments detected by clone detection tool
File path: /apache-ant-1.7.0/src/org/apache/tools/ant/taskdefs/Java.java File path: /apache-ant-1.7.0/src/org/apache/tools/ant/taskdefs/optional/junit/JUnitTask.java
Method name: Method name:
Number of AST nodes: 0 Number of AST nodes: 0
1
public Path createClasspath() {
1
public Path createClasspath() {
2
        return getCommandLine().createClasspath(getProject()).createPath();
2
        return getCommandline().createClasspath(getProject()).createPath();
3
    }
3
    }
4
    /**
4
    /**
5
     * Add a path to the bootclasspath.
5
     * Adds a path to the bootclasspath.
6
     * @since Ant 1.6
6
     * @
7
     *
8
     * @return created bootclasspath.
7
return reference to the bootclasspath in the embedded java command line
8
     * @since Ant 1.6
9
     */
9
     */
10
    public Path createBootclasspath() {
10
    public Path createBootclasspath() {
11
        return getCommandLine().createBootclasspath(getProject()).createPath()
11
        return getCommandline().createBootclasspath(getProject()).createPath()
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