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