void setExtensionName(final String extensionName) { verifyNotAReference(); this.extensionName = extensionName; } /** * Set the specificationVersion of extension. * * @param specificationVersion the specificationVersion of extension */ public void setSpecificationVersion(final String specificationVersion) { verifyNotAReference(); this.specificationVersion = new DeweyDecimal(specificationVersion); } /** * Set the specificationVendor of extension. * * @param specificationVendor the specificationVendor of extension */ public void setSpecificationVendor(final String specificationVendor) { verifyNotAReference(); this.specificationVendor = specificationVendor;
void setImplementationVendor(final String implementationVendor) { verifyNotAReference(); this.implementationVendor = implementationVendor; } /** * Set the implementationVersion of extension. * * @param implementationVersion the implementationVersion of extension */ public void setImplementationVersion(final String implementationVersion) { verifyNotAReference(); this.implementationVersion = new DeweyDecimal(implementationVersion); } /** * Set the implementationURL of extension. * * @param implementationURL the implementationURL of extension */ public void setImplementationUrl(final String implementationURL) { verifyNotAReference(); this.implementationURL = implementationURL;
Clone fragments detected by clone detection tool
File path: /apache-ant-1.7.0/src/org/apache/tools/ant/taskdefs/optional/extension/ExtensionAdapter.java File path: /apache-ant-1.7.0/src/org/apache/tools/ant/taskdefs/optional/extension/ExtensionAdapter.java
Method name: Method name:
Number of AST nodes: 0 Number of AST nodes: 0
1
void setExtensionName(final String extensionName) {
1
void setImplementationVendor(final String implementationVendor) {
2
        verifyNotAReference();
2
        verifyNotAReference();
3
        this.extensionName = extensionName;
3
        this.implementationVendor = implementationVendor;
4
    }
4
    }
5
    /**
5
    /**
6
     * Set the specificationVersion of extension.
6
     * Set the implementationVersion of extension.
7
     *
7
     *
8
     * @param specificationVersion the specificationVersion of extension
8
     * @param implementationVersion the implementationVersion of extension
9
     */
9
     */
10
    public void setSpecificationVersion(final String specificationVersion) {
10
    public void setImplementationVersion(final String implementationVersion) {
11
        verifyNotAReference();
11
        verifyNotAReference();
12
        this.specificationVersion = new DeweyDecimal(specificationVersion);
12
        this.implementationVersion = new DeweyDecimal(implementationVersion);
13
    }
13
    }
14
    /**
14
    /**
15
     * Set the specificationVendor of extension.
15
     * Set the implementationURL of extension.
16
     *
16
     *
17
     * @param specificationVendor the specificationVendor of extension
17
     * @param implementationURL the implementationURL of extension
18
     */
18
     */
19
    public void setSpecificationVendor(final String specificationVendor) {
19
    public void setImplementationUrl(final String implementationURL) {
20
        verifyNotAReference();
20
        verifyNotAReference();
21
        this.specificationVendor = specificationVendor;
21
        this.implementationURL = implementationURL;
22
    
22
    
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