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 MyEntity { private Long id; private String name; private MyEntity other; 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 MyEntity getOther() { return other; } public void setOther(MyEntity other) { this.other = other
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/jpa/MyEntity.java
Method name: Method name:
Number of AST nodes: 0 Number of AST nodes: 0
1
public class Item {
1
public class 
2
    
2
MyEntity {
3
private Long id;
3
	private Long id;
4
    
5
private String name;
4
	private String name;
6
    
7
private String description;
5
	private 
8
    
6
MyEntity other;
9
public String getDescription() {
7
	public Long get
10
        return description;
11
    }
12
    public void setDescription(String description) {
13
        this.description = description;
14
    }
15
    
8
Id() {
9
		return id;
10
	}
11
	public void setId(Long id) {
12
		this.id = id;
13
	}
16
public Long getId() {
14
	public String get
17
        return id;
18
    }
19
    public void setId(Long id) {
20
        this.id = id;
21
    }
22
    public String getName() {
23
        return name;
24
    }
25
    public void setName(String name) {
26
        this.name = name
15
Name() {
16
		return name;
17
	}
18
	public void setName(String name) {
19
		this.name = name;
20
	}
21
	public MyEntity getOther() {
22
		return other;
23
	}
24
	public void setOther(MyEntity other) {
25
		this.other = other
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