package org.apache.tools.ant.taskdefs.optional.extension; /** * Enum used in (@link Extension) to indicate the compatability * of one extension to another. See (@link Extension) for instances * of object. * * WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING * This file is from excalibur.extension package. Dont edit this file * directly as there is no unit tests to make sure it is operational * in ant. Edit file in excalibur and run tests there before changing * ants file. * WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING * * @see Extension */ public final class Compatability { /** * A string representaiton of compatability level. */ private final String name; /** * Create a compatability enum with specified name. * * @param name the name of compatability level */ Compatability(final String name) { this.name = name; } /** * Return name of compatability level. * * @return the name of compatability level */ public String toString() { return name; }
package org.apache.tools.ant.taskdefs.optional.extension; /** * Enum used in (@link Extension) to indicate the compatibility * of one extension to another. See (@link Extension) for instances * of object. * * WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING * This file is from excalibur.extension package. Dont edit this file * directly as there is no unit tests to make sure it is operational * in ant. Edit file in excalibur and run tests there before changing * ants file. * WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING * * @see Extension */ public final class Compatibility { /** * A string representaiton of compatibility level. */ private final String name; /** * Create a compatibility enum with specified name. * * @param name the name of compatibility level */ Compatibility(final String name) { this.name = name; } /** * Return name of compatibility level. * * @return the name of compatibility level */ public String toString() { return name; }
Clone fragments detected by clone detection tool
File path: /apache-ant-1.7.0/src/org/apache/tools/ant/taskdefs/optional/extension/Compatability.java File path: /apache-ant-1.7.0/src/org/apache/tools/ant/taskdefs/optional/extension/Compatibility.java
Method name: Method name:
Number of AST nodes: 0 Number of AST nodes: 0
1
package org.apache.tools.ant.taskdefs.optional.extension;
1
package org.apache.tools.ant.taskdefs.optional.extension;
2
/**
2
/**
3
 * Enum used in (@link Extension) to indicate the compatability
3
 * Enum used in (@link Extension) to indicate the compatibility
4
 * of one extension to another. See (@link Extension) for instances
4
 * of one extension to another. See (@link Extension) for instances
5
 * of object.
5
 * of object.
6
 *
6
 *
7
 * WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING
7
 * WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING
8
 *  This file is from excalibur.extension package. Dont edit this file
8
 *  This file is from excalibur.extension package. Dont edit this file
9
 * directly as there is no unit tests to make sure it is operational
9
 * directly as there is no unit tests to make sure it is operational
10
 * in ant. Edit file in excalibur and run tests there before changing
10
 * in ant. Edit file in excalibur and run tests there before changing
11
 * ants file.
11
 * ants file.
12
 * WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING
12
 * WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING
13
 *
13
 *
14
 * @see Extension
14
 * @see Extension
15
 */
15
 */
16
public final class Compatability {
16
public final class Compatibility {
17
    /**
17
    /**
18
     * A string representaiton of compatability level.
18
     * A string representaiton of compatibility level.
19
     */
19
     */
20
    private final String name;
20
    private final String name;
21
    /**
21
    /**
22
     * Create a compatability enum with specified name.
22
     * Create a compatibility enum with specified name.
23
     *
23
     *
24
     * @param name the name of compatability level
24
     * @param name the name of compatibility level
25
     */
25
     */
26
    Compatability(final String name) {
26
    Compatibility(final String name) {
27
        this.name = name;
27
        this.name = name;
28
    }
28
    }
29
    /**
29
    /**
30
     * Return name of compatability level.
30
     * Return name of compatibility level.
31
     *
31
     *
32
     * @return the name of compatability level
32
     * @return the name of compatibility level
33
     */
33
     */
34
    public String toString() {
34
    public String toString() {
35
        return name;
35
        return name;
36
    }
36
    }
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