public class Document { private Long id; private String location; private User owner; public Long getId() { return id; } public void setId(Long id) { this.id = id; } public String getLocation() { return location; } public void setLocation(String location) { this.location = location; } public User getOwner() { return owner; } public void setOwner(User owner) { this.owner = owner
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/testsuite/src/test/java/org/hibernate/test/component/cascading/toone/Document.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 Document {
1
public class ParentInfoAssigned {
2
	private Long id;
2
	private Long id;
3
	private String location;
3
	private ParentAssigned owner;
4
	private User owner;
4
	private String info;
5
	public Long getId() {
5
	public 
6
		return id;
7
	}
8
	public void setId(Long id) {
9
		this.id = id;
10
	}
11
	public String getLocation
6
ParentInfoAssigned() {
7
	}
8
	public ParentInfoAssigned(String info) {
9
		this.info = info;
10
	}
11
	public Long getId() {
12
		return id;
13
	}
12
() {
14
	public ParentAssigned getOwner() {
13
		return location;
15
		return owner;
14
	}
16
	}
15
	public void setLocation(String location) {
17
	public void setOwner(ParentAssigned owner) {
16
		this.location = location;
18
		this.owner = owner;
17
	}
19
	}
18
	public User getOwner() {
20
	public String getInfo() {
19
		return owner;
21
		return info;
20
	}
22
	}
21
	public void setOwner(User owner) {
23
	public void set
22
		this.owner = owner
24
Info(String info) {
25
		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