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 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/Javadoc.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 class DocletParam {
1
public static class OutputProperty {
2
        /** The parameter name */
2
        /** output property name */
3
        private String name;
3
        private String name;
4
        /** The parameter value */
4
        /** output property value */
5
        private String value;
5
        private String value;
6
        /**
6
        /**
7
         * Set the name of the parameter.
7
         * 
8
         *
9
         * @param name the name of the doclet parameter
8
@return the output property name.
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 the 
16
         *
17
         * @return the parameter's name.
18
         */
19
        public String getName() {
20
            return name;
21
        }
22
        /**
23
         * Set the parameter value
15
name for this property
16
         * @param name A non-null String that specifies an
24
.
17
         * output property name, which may be namespace qualified.
25
         *
18
         */
26
         * Note that only string values are supported. No resolution of file
19
        
27
         * paths is performed.
28
         
20
public void setName(String name) {
21
            this.name = name;
22
        }
29
*
23
        /**
30
         * @param value the parameter value.
24
         * @return the output property value.
31
         */
25
         */
32
        public void setValue(String value) {
26
        public String getValue() {
33
            this.value = value;
27
            return value;
34
        }
28
        }
35
        /**
29
        /**
36
         * Get the parameter value.
30
         * set the 
37
         *
38
         * @return the parameter value
31
value for this property
39
.
32
         * @param value The non-null string value of the output property.
40
         */
33
         */
41
        public String getValue() {
34
        public void setValue(String value) {
42
            return value;
35
            this.value = value;
43
        
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