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 OutputProperty { /** output property name */ private String name; /** output property value */ private String value; /** * @return the output property name. */ public String getName() { return name; } /** * set the name for this property * @param name A non-null String that specifies an * output property name, which may be namespace qualified. */ public void setName(String name) { this.name = name; } /** * @return the output property value. */ public String getValue() { return value; } /** * set the value for this property * @param value The non-null string value of the output 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/Apt.java File path: /apache-ant-1.7.0/src/org/apache/tools/ant/taskdefs/XSLTProcess.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 O
2
        private String
2
utputProperty {
3
 name;
3
        /** output property name */
4
        private String value;
4
        private String name;
5
        /** Constructor for Option */
5
        /** 
6
        public Option() {
7
            //default
8
        }
9
        /**
10
         * Get the name attribute.
11
         * @return the name attribut
6
output property value */
7
        private String value;
8
        /**
12
e.
9
         * @return the output property name.
13
         */
10
         */
14
        public String getName() {
11
        public String getName() {
15
            return name;
12
            return name;
16
        }
13
        }
17
        /**
14
        /**
18
         * Set the name attribute.
15
         * set the name for this property
19
         * @param name the name of the option
16
         * @param name A non-null String that specifies an
20
.
17
         * output property name, which may be namespace qualified.
21
         */
18
         */
22
        public void setName(String name) {
19
        public void setName(String name) {
23
            this.name = name;
20
            this.name = name;
24
        }
21
        }
25
        /**
22
        /**
26
         * Get the value attribute.
23
         * 
27
         * @return the value attribute.
24
@return the output property value.
28
         */
25
         */
29
        public String getValue() {
26
        public String getValue() {
30
            return value;
27
            return value;
31
        }
28
        }
32
        /**
29
        /**
33
         * Set the value attribute.
30
         * set the value for this property
34
         * @param value the value of the option.
31
         * @param value The non-null string value of the output property.
35
         */
32
         */
36
        public void setValue(String value) {
33
        public void setValue(String value) {
37
            this.value = value;
34
            this.value = value;
38
        
35
        
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