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 ChildInfo { private Long id; private Child owner; private String info; public ChildInfo() { } public ChildInfo(String info) { this.info = info; } public Long getId() { return id; } public Child getOwner() { return owner; } public void setOwner(Child 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/ChildInfo.java
Method name: Method name:
Number of AST nodes: 0 Number of AST nodes: 0
1
public class Item {
1
public class ChildInfo {
2
	private Long id;
2
	private Long id;
3
	private String name;
3
	private Child owner;
4
	private String description;
4
	private String 
5
	
6
	public String getDescription
5
info;
7
() {
6
	public ChildInfo() {
8
		return description;
7
	
9
	}
10
	public void setDescription(String description
8
}
11
) {
9
	public ChildInfo(String info) {
12
		this.description = description;
10
		this.
13
	}
11
info = info;
12
	}
13

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

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

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