public class Item { private Long id; private String name; private String description; public String getDescription() { return description; } public void setDescription(String description) { this.description = description; } public Long getId() { return id; } public void setId(Long id) { this.id = id; } public String getName() { return name; } public void setName(String name) { this.name = name;
public class A { private Long id; private String name; private E forward; /** * Returns the id. * @return Long */ public Long getId() { return id; } /** * Returns the name. * @return String */ public String getName() { return name; } /** * Sets the id. * @param id The id to set */ public void setId(Long id) { this.id = id; } /** * Sets the name. * @param name The name to set */ public void setName(String name) { this.name = name; } public E getForward() { return forward; } public void setForward(E e) { forward = e;
Clone fragments detected by clone detection tool
File path: /hibernate-distribution-3.3.2.GA/project/cache-jbosscache2/src/test/java/org/hibernate/test/cache/jbc2/functional/Item.java File path: /hibernate-distribution-3.3.2.GA/project/testsuite/src/test/java/org/hibernate/test/legacy/A.java
Method name: Method name:
Number of AST nodes: 0 Number of AST nodes: 0
1
public class Item {
1
public class 
2
    
2
A {
3
private Long id;
3
	private Long id;
4
    private String name;
4
	private String name;
5
    private String description;
5
	private 
6
    
6
E forward;
7
	
8
	/**
9
	 * Returns the id.
10
	 * @return Long
11
	 */
7
public String getDescription() {
12
	public Long get
8
        return description;
9
    }
10
    public void setDescription(String description) {
11
        this.description = description;
12
    }
13
    
13
Id() {
14
		return id;
15
	}
16
	
17
	/**
18
	 * Returns the name.
19
	 * @return String
20
	 */
14
public Long getId() {
21
	public String getName() {
15
        return id;
16
    }
17
    
22
		return name;
23
	}
24
	
25
	/**
26
	 * Sets the id.
27
	 * @param id The id to set
28
	 */
18
public void setId(Long id) {
29
	public void setId(Long id) {
19
        this.id = id;
30
		this.id = id;
20
    }
21
    public String getName() {
22
        return name;
23
    }
24
    
31
	}
32
	
33
	/**
34
	 * Sets the name.
35
	 * @param name The name to set
36
	 */
25
public void setName(String name) {
37
	public void setName(String name) {
26
        this.name = name;
38
		this.name = name;
27
    
39
	}
40
	
41
	public E getForward() {
42
		return forward;
43
	}
44
	public void setForward(E e) {
45
		forward = e;
46
	
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