public void setIncludeantruntime(boolean include) { includeAntRuntime = include; } /** * Gets whether or not the ant classpath is to be included in the classpath. * @return whether or not the ant classpath is to be included in the classpath */ public boolean getIncludeantruntime() { return includeAntRuntime; } /** * If true, includes the Java runtime libraries in the classpath. * @param include if true, includes the Java runtime libraries in the classpath */ public void setIncludejavaruntime(boolean include) { includeJavaRuntime = include; } /** * Gets whether or not the java runtime should be included in this * task's classpath. * @return the includejavaruntime attribute */ public boolean getIncludejavaruntime() { return includeJavaRuntime
public void setIncludeantruntime(boolean include) { includeAntRuntime = include; } /** * Gets whether or not the ant classpath is to be included in the * task's classpath. * @return true if ant's classpath is to be included */ public boolean getIncludeantruntime() { return includeAntRuntime; } /** * task's classpath. * Enables or disables including the default run-time * libraries from the executing VM; optional, * defaults to false * @param include if true include default run-time libraries */ public void setIncludejavaruntime(boolean include) { includeJavaRuntime = include; } /** * Gets whether or not the java runtime should be included in this * task's classpath. * @return true if default run-time libraries are included */ public boolean getIncludejavaruntime() { return includeJavaRuntime
Clone fragments detected by clone detection tool
File path: /apache-ant-1.7.0/src/org/apache/tools/ant/taskdefs/Javac.java File path: /apache-ant-1.7.0/src/org/apache/tools/ant/taskdefs/Rmic.java
Method name: Method name:
Number of AST nodes: 0 Number of AST nodes: 0
1
public void setIncludeantruntime(boolean include) {
1
public void setIncludeantruntime(boolean include) {
2
        includeAntRuntime = include;
2
        includeAntRuntime = include;
3
    }
3
    }
4
    /**
4
    /**
5
     * Gets whether or not the ant classpath is to be included in the
5
     * Gets whether or not the ant classpath is to be included in the
6
 classpath.
6
     * task's classpath.
7
     * @return whether or not the ant classpath is to be included in the classpath
7
     * @return true if ant's classpath is to be included
8
     */
8
     */
9
    public boolean getIncludeantruntime() {
9
    public boolean getIncludeantruntime() {
10
        return includeAntRuntime;
10
        return includeAntRuntime;
11
    }
11
    }
12
    /**
12
    /**
13
     * If true,
13
     * task's classpath.
14
 includes the Java runtime
14
     * Enables or disables including the default run-time
15
 libraries in the classpath.
15
     * libraries from the executing VM; optional,
16
     * defaults to false
16
     * @param include if true, includes the Java runtime libraries in the classpath
17
     * @param include if true include default run-time libraries
17
     */
18
     */
18
    public void setIncludejavaruntime(boolean include) {
19
    public void setIncludejavaruntime(boolean include) {
19
        includeJavaRuntime = include;
20
        includeJavaRuntime = include;
20
    }
21
    }
21
    /**
22
    /**
22
     * Gets whether or not the java runtime should be included in this
23
     * Gets whether or not the java runtime should be included in this
23
     * task's classpath.
24
     * task's classpath.
24
     * @return the includejavaruntime attribute
25
     * @return true if default run-time libraries are included
25
     */
26
     */
26
    public boolean getIncludejavaruntime() {
27
    public boolean getIncludejavaruntime() {
27
        return includeJavaRuntime
28
        return includeJavaRuntime
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