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