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 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;
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/Javadoc.java
Method name: Method name:
Number of AST nodes: 0 Number of AST nodes: 0
1
public static class DnameParam {
1
public class DocletParam {
2
        private String name;
2
        /** The parameter name */
3
        private String name;
4
        /** The parameter value */
3
        private String value;
5
        private String value;
4
        /**
6
        /**
5
         * Set the name attribute.
7
         * Set the name of the parameter.
8
         *
6
         * @param name a <code>String</code> value
9
         * @param name the name of the doclet parameter
7
         */
10
         */
8
        public void setName(String name) {
11
        public void setName(String name) {
9
            this.name = name;
12
            this.name = name;
10
        }
13
        }
11
        /**
14
        /**
12
         * Get the name attribute.
15
         * Get the parameter name.
16
         *
13
         * @return the name.
17
         * @return the parameter's name.
14
         */
18
         */
15
        public String getName() {
19
        public String getName() {
16
            return name;
20
            return name;
17
        }
21
        }
18
        /**
22
        /**
19
         * Set the value attribute.
23
         * Set the 
20
         * @param value a <code>String</code>
24
parameter value.
25
         *
26
         * Note that only string values are supported. No resolution of file
27
         * paths is performed.
28
         *
21
 value
29
         * @param value the parameter value.
22
         */
30
         */
23
        public void setValue(String value) {
31
        public void setValue(String value) {
24
            this.value = value;
32
            this.value = value;
25
        }
33
        }
26
        /**
34
        /**
27
         * Get the value attribute.
35
         * Get the parameter value.
36
         *
28
         * @return the value.
37
         * @return the parameter value.
29
         */
38
         */
30
        public String getValue() {
39
        public String getValue() {
31
            return value;
40
            return value;
32
        
41
        
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