public static class DnameParam { private String name; private String value; /** * Set the name attribute. * @param name a <code>String</code> value */ public void setName(String name) { this.name = name; } /** * Get the name attribute. * @return the name. */ public String getName() { return name; } /** * Set the value attribute. * @param value a <code>String</code> value */ public void setValue(String value) { this.value = value; } /** * Get the value attribute. * @return the value. */ public String getValue() { return value;
public static final class Property { private String name; private String value; /** * accessor to the name of the property * @return name of the property */ public String getName() { return name; } /** * setter for the name of the property * @param name name of the property */ 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; } /** * sets the value of the property * @param value value of the property */ public void setValue(String value) { this.value = value;
Clone fragments detected by clone detection tool
File path: /apache-ant-1.7.0/src/org/apache/tools/ant/taskdefs/GenerateKey.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 static class DnameParam {
1
public static final class Property {
2
        private String name;
2
        private String name;
3
        private String value;
3
        private String value;
4
        /**
4
        /**
5
         * Set the name attribute.
5
         * accessor to the name of the property
6
         * @param name a <code>String</code> value
6
         * @return name of the property
7
         */
7
         */
8
        public void setName(String name) {
8
        public String getName() {
9
            this.name = name;
9
            return name;
10
        }
10
        }
11
        /**
11
        /**
12
         * Get the name attribute.
12
         * setter for the name 
13
         * @return the name.
13
of the property
14
         * @param name name of the property
14
         */
15
         */
15
        public String getName() {
16
        public void setName(String name) {
16
            return name;
17
            this.name = name;
17
        }
18
        }
18
        /**
19
        /**
19
         * Set the value attribute.
20
         * getter for the value of the property
20
         * @param value a <code>String</code> value
21
         * @return value of the property
21
         */
22
         */
22
        public void setValue(String value) {
23
        public String getValue() {
23
            this.value = value;
24
            return value;
24
        }
25
        }
25
        /**
26
        /**
26
         * Get the value attribute.
27
         * sets the value 
27
         * @return the value.
28
of the property
29
         * @param value value of the property
28
         */
30
         */
29
        public String getValue() {
31
        public void setValue(String value) {
30
            return value;
32
            this.value = value;
31
        
33
        
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