public class DocletParam { /** The parameter name */ private String name; /** The parameter value */ private String value; /** * Set the name of the parameter. * * @param name the name of the doclet parameter */ public void setName(String name) { this.name = name; } /** * Get the parameter name. * * @return the parameter's name. */ public String getName() { return name; } /** * Set the parameter value. * * Note that only string values are supported. No resolution of file * paths is performed. * * @param value the parameter value. */ public void setValue(String value) { this.value = value; } /** * Get the parameter value. * * @return the parameter 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/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 class DocletParam {
1
public 
2
        /** The parameter name */
3
        private String name;
4
        /** The parameter value */
2
static final class Property {
3
        private String name;
5
        private String value;
4
        private String value;
6
        /**
5
        /**
7
         * Set the name of the parameter.
6
         * accessor to the name of the p
8
         *
9
         * @param name the name of the doclet parameter
7
roperty
8
         * @return name of the property
10
         */
9
         */
11
        public void setName(String name) {
10
        public String getName() {
12
            this.name = name;
11
            return name;
13
        }
12
        }
14
        /**
13
        /**
15
         * Get the parameter name.
14
         * set
16
         *
17
         * @return the parameter's name.
15
ter for the name of the property
16
         * @param name name of the property
18
         */
17
         */
19
        public String getName() {
18
        public void setName(String name) {
20
            return name;
19
            this.name = name;
21
        }
20
        }
22
        /**
21
        /**
23
         * Set the parameter value.
22
         * get
24
         *
25
         * Note that only string values are supported. No resolution of file
26
         * paths is performed.
27
         *
23
ter for the value of the property
28
         * @param value the parameter value.
24
         * @return value of the property
29
         */
25
         */
30
        public void setValue(String value) {
26
        public String getValue() {
31
            this.value = value;
27
            return value;
32
        }
28
        }
33
        /**
29
        /**
34
         * Get the parameter value.
30
         * sets the 
35
         *
36
         * @return the parameter value.
31
value of the property
32
         * @param value value of the property
37
         */
33
         */
38
        public String getValue() {
34
        public void setValue(String value) {
39
            return value;
35
            this.value = value;
40
        
36
        
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