public void setName(String name) { this.name = name; } /** * Get the name of the extension. * * @return the extension's name. */ public String getName() { return name;
public void setName(String name) { this.name = name; } /** * getter for the value of the property * @return value of the property */ public String getValue() { return value;
Clone fragments detected by clone detection tool
File path: /apache-ant-1.7.0/src/org/apache/tools/ant/taskdefs/Javadoc.java File path: /apache-ant-1.7.0/src/org/apache/tools/ant/taskdefs/optional/XMLValidateTask.java
Method name: Method name:
Number of AST nodes: 0 Number of AST nodes: 0
1
public void setName(String name) {
1
public void setName(String name) {
2
            this.name = name;
2
            this.name = name;
3
        }
3
        }
4
        /**
4
        /**
5
         * Get the name of the extension.
5
         * getter for the value of the 
6
         *
7
         * @return the extension's name.
6
property
7
         * @return value of the property
8
         */
8
         */
9
        public String getName() {
9
        public String getValue() {
10
            return name;
10
            return value;
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