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 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/GenerateKey.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 class DnameParam {
1
public static class 
2
        private String name;
3
        private String value;
4
        /**
5
         * Set the name attribute.
6
         * @param name a <code>String</code> value
2
OutputProperty {
3
        /** output property name */
4
        private String name;
5
        /** output property value */
6
        private String value;
7
        /**
8
         * @return the output property name.
7
         */
9
         */
8
        public void setName(String name) {
10
        public String getName() {
9
            this.name = name;
11
            return name;
10
        }
12
        }
11
        /**
13
        /**
12
         * Get the name attribute.
14
         * set the name 
13
         * @return the name
15
for this property
16
         * @param name A non-null String that specifies an
14
.
17
         * output property name, which may be namespace qualified.
15
         */
18
         */
16
        public String getName() {
19
        public void setName(String name) {
17
            return name;
20
            this.name = name;
18
        }
21
        }
19
        /**
22
        /**
20
         * Set the value attribute.
23
         * 
21
         * @param value a <code>String</code> value
24
@return the output property value.
22
         */
25
         */
23
        public void setValue(String value) {
26
        public String getValue() {
24
            this.value = value;
27
            return value;
25
        }
28
        }
26
        /**
29
        /**
27
         * Get the value attribute.
30
         * set the value 
28
         * @return the value
31
for this property
29
.
32
         * @param value The non-null string value of the output property.
30
         */
33
         */
31
        public String getValue() {
34
        public void setValue(String value) {
32
            return value;
35
            this.value = value;
33
        
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