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 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/GenerateKey.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 DnameParam {
1
public 
2
   
2
class Header {
3
     private String name;
3
    private String name;
4
        private String value;
4
    private String value;
5
        /**
5
    /**
6
         * Set the name attribute.
6
     * Set the name 
7
    
7
of this Header.
8
     * @param name a <code>String</code> value
8
     * @param name 
9
   
9
the name to set.
10
      */
10
     */
11
        public void setName(String name) {
11
    public void setName(String name) {
12
            this.name = name;
12
        this.name = name;
13
        }
13
    }
14
        /**
14
    /**
15
         * Get the name attribute.
15
     * Get the name of this Header.
16
         * @return the name.
16
     * @return 
17
    
17
name as String.
18
     */
18
     */
19
        public String getName() {
19
    public String getName() {
20
            return name;
20
        return name;
21
        }
21
    }
22
        /**
22
    /**
23
         * Set the value attribute.
23
     * Set the value of this Header.
24
         * @param value a <code>String</code> value
24
     * @param value 
25
    
25
the value to set.
26
     */
26
     */
27
        public void setValue(String value) {
27
    public void setValue(String value) {
28
            this.value = value;
28
        this.value = value;
29
        }
29
    }
30
        /**
30
    /**
31
         * Get the value attribute.
31
     * Get the value 
32
    
32
of this Header.
33
     * @return the value.
33
     * @return value as String.
34
         */
34
     */
35
        public String getValue() {
35
    public String getValue() {
36
            return value;
36
        return value;
37
        
37
    
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