public static final Compatibility COMPATIBLE = new Compatibility("COMPATIBLE"); /** * Enum indicating that extension requires an upgrade * of specification to be compatible with other extension. */ public static final Compatibility REQUIRE_SPECIFICATION_UPGRADE = new Compatibility("REQUIRE_SPECIFICATION_UPGRADE"); /** * Enum indicating that extension requires a vendor * switch to be compatible with other extension. */ public static final Compatibility REQUIRE_VENDOR_SWITCH = new Compatibility("REQUIRE_VENDOR_SWITCH"); /** * Enum indicating that extension requires an upgrade * of implementation to be compatible with other extension. */ public static final Compatibility REQUIRE_IMPLEMENTATION_UPGRADE = new Compatibility("REQUIRE_IMPLEMENTATION_UPGRADE"); /** * Enum indicating that extension is incompatible with * other extension in ways other than other enums * indicate). For example the other extension may have * a different ID. */ public static final Compatibility INCOMPATIBLE = new Compatibility("INCOMPATIBLE"); /** * The name of the optional package being made available, or required. */ private String extensionName; /** * The version number (dotted decimal notation) of the specification * to which this optional package conforms. */ private DeweyDecimal specificationVersion; /** * The name of the company or organization that originated the * specification to which this optional package conforms. */ private String specificationVendor
public static final Compatibility COMPATIBLE = new Compatibility("COMPATIBLE"); /** * Enum indicating that extension requires an upgrade * of specification to be compatible with other Package Specification. */ public static final Compatibility REQUIRE_SPECIFICATION_UPGRADE = new Compatibility("REQUIRE_SPECIFICATION_UPGRADE"); /** * Enum indicating that extension requires a vendor * switch to be compatible with other Package Specification. */ public static final Compatibility REQUIRE_VENDOR_SWITCH = new Compatibility("REQUIRE_VENDOR_SWITCH"); /** * Enum indicating that extension requires an upgrade * of implementation to be compatible with other Package Specification. */ public static final Compatibility REQUIRE_IMPLEMENTATION_CHANGE = new Compatibility("REQUIRE_IMPLEMENTATION_CHANGE"); /** * This enum indicates that an extension is incompatible with * other Package Specification in ways other than other enums * indicate. For example, the other Package Specification * may have a different ID. */ public static final Compatibility INCOMPATIBLE = new Compatibility("INCOMPATIBLE"); /** * The name of the Package Specification. */ private String specificationTitle; /** * The version number (dotted decimal notation) of the specification * to which this optional package conforms. */ private DeweyDecimal specificationVersion; /** * The name of the company or organization that originated the * specification to which this specification conforms. */ private String specificationVendor
Clone fragments detected by clone detection tool
File path: /apache-ant-1.7.0/src/org/apache/tools/ant/taskdefs/optional/extension/Extension.java File path: /apache-ant-1.7.0/src/org/apache/tools/ant/taskdefs/optional/extension/Specification.java
Method name: Method name:
Number of AST nodes: 0 Number of AST nodes: 0
1
public static final Compatibility COMPATIBLE
1
public static final Compatibility COMPATIBLE =
2
        = new Compatibility("COMPATIBLE");
2
        new Compatibility("COMPATIBLE");
3
    /**
3
    /**
4
     * Enum indicating that extension requires an upgrade
4
     * Enum indicating that extension requires an upgrade
5
     * of specification to be compatible with other extension.
5
     * of specification to be compatible with other Package Specification.
6
     */
6
     */
7
    public static final Compatibility REQUIRE_SPECIFICATION_UPGRADE
7
    public static final Compatibility REQUIRE_SPECIFICATION_UPGRADE =
8
        = new Compatibility("REQUIRE_SPECIFICATION_UPGRADE");
8
        new Compatibility("REQUIRE_SPECIFICATION_UPGRADE");
9
    /**
9
    /**
10
     * Enum indicating that extension requires a vendor
10
     * Enum indicating that extension requires a vendor
11
     * switch to be compatible with other extension.
11
     * switch to be compatible with other Package Specification.
12
     */
12
     */
13
    public static final Compatibility REQUIRE_VENDOR_SWITCH
13
    public static final Compatibility REQUIRE_VENDOR_SWITCH =
14
        = new Compatibility("REQUIRE_VENDOR_SWITCH");
14
        new Compatibility("REQUIRE_VENDOR_SWITCH");
15
    /**
15
    /**
16
     * Enum indicating that extension requires an upgrade
16
     * Enum indicating that extension requires an upgrade
17
     * of implementation to be compatible with other extension.
17
     * of implementation to be compatible with other Package Specification.
18
     */
18
     */
19
    public static final Compatibility REQUIRE_IMPLEMENTATION_UPGRADE
19
    public static final Compatibility REQUIRE_IMPLEMENTATION_CHANGE =
20
        = new Compatibility("REQUIRE_IMPLEMENTATION_UPGRADE");
20
        new Compatibility("REQUIRE_IMPLEMENTATION_CHANGE");
21
    /**
21
    /**
22
     * Enum indicating that extension is incompatible with
22
     * This enum indicates that an extension is incompatible with
23
     * other extension in ways other than other enums
23
     * other Package Specification in ways other than other enums
24
     * indicate). For example the other extension
24
     * indicate. For example, the other Package Specification
25
 may have
25
     * may have
26
     * a different ID.
26
 a different ID.
27
     */
27
     */
28
    public static final Compatibility INCOMPATIBLE
28
    public static final Compatibility INCOMPATIBLE
29
 
29
 =
30
       = new Compatibility("INCOMPATIBLE");
30
        new Compatibility("INCOMPATIBLE");
31
    /**
31
    /**
32
     * The name of the optional package being made available, or required.
32
     * The name of the Package Specification.
33
     */
33
     */
34
    private String extensionName;
34
    private String specificationTitle;
35
    /**
35
    /**
36
     * The version number (dotted decimal notation) of the specification
36
     * The version number (dotted decimal notation) of the specification
37
     * to which this optional package conforms.
37
     * to which this optional package conforms.
38
     */
38
     */
39
    private DeweyDecimal specificationVersion;
39
    private DeweyDecimal specificationVersion;
40
    /**
40
    /**
41
     * The name of the company or organization that originated the
41
     * The name of the company or organization that originated the
42
     * specification to which this optional package conforms.
42
     * specification to which this specification conforms.
43
     */
43
     */
44
    private String specificationVendor
44
    private String specificationVendor
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