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 ParentInfoAssigned { private Long id; private ParentAssigned owner; private String info; public ParentInfoAssigned() { } public ParentInfoAssigned(String info) { this.info = info; } public Long getId() { return id; } public ParentAssigned getOwner() { return owner; } public void setOwner(ParentAssigned owner) { this.owner = owner; } public String getInfo() { return info; } public void setInfo(String info) { this.info = info;
Clone fragments detected by clone detection tool
File path: /hibernate-distribution-3.3.2.GA/project/testing/src/main/java/org/hibernate/test/cache/Item.java File path: /hibernate-distribution-3.3.2.GA/project/testsuite/src/test/java/org/hibernate/test/jpa/cascade/ParentInfoAssigned.java
Method name: Method name:
Number of AST nodes: 0 Number of AST nodes: 0
1
public class Item {
1
public class ParentInfoAssigned {
2
	private Long id;
2
	private Long id;
3
	private String name;
3
	private ParentAssigned owner;
4
	private String description;
4
	private String 
5
	
6
	public String getDescription() {
7
		return description;
8
	}
9
	public void setDescription(String description
5
info;
6
	public ParentInfoAssigned() {
7
	}
10
) {
8
	public ParentInfoAssigned(String info) {
11
		this.description = description;
9
		this.
12
	}
10
info = info;
11
	}
12

13
	public Long getId() {
13
	public Long getId() {
14
		return id;
14
		return id;
15
	}
15
	}
16
	public void setId(Long id
16
	public ParentAssigned getOwner() {
17
		return owner;
18
	}
17
) {
19
	public void setOwner(ParentAssigned owner) {
18
		this.id = id;
20
		this.
19
	}
21
owner = owner;
22
	}
23

20
	public String getName() {
24
	public String getInfo() {
21
		return name;
25
		return 
22
	}
26
info;
27
	}
28

23
	public void setName(String name) {
29
	public void setInfo(String info) {
24
		this.name = name;
30
		this.info = info;
25
	
31
	
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