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 Being { private long id; private String identity; private String location; private String species; public void setLocation(String location) { this.location = location; } public String getLocation() { return location; } public void setSpecies(String species) { this.species = species; } public String getSpecies() { return species; } public void setIdentity(String identity) { this.identity = identity; } public String getIdentity() { return identity;
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/subselect/Being.java
Method name: Method name:
Number of AST nodes: 0 Number of AST nodes: 0
1
public class Document {
1
public class Being {
2
	private Long id;
2
	private long id;
3
	private String location;
3
	private String 
4
	private User owner;
5
	public Long getId() {
6
		return id;
7
	}
8
	public void setId(Long id
4
identity;
5
	private String location;
6
	private String species;
7
	
9
) {
8
	public void setLocation(String location) {
10
		this.id = id;
9
		this.
11
	}
12

10
location = location;
11
	}
13
	public String getLocation() {
12
	public String getLocation() {
14
		return location;
13
		return location;
15
	}
14
	}
16

17
	public void setLocation(String location) {
15
	public void setSpecies(String species) {
18
		this.location = location;
16
		this.
19
	}
20
	public User getOwner
17
species = species;
18
	}
21
() {
19
	public String getSpecies() {
22
		return owner;
20
		return 
23
	}
24

21
species;
22
	}
25
	public void setOwner(User owner) {
23
	public void setIdentity(String identity) {
26
		this.owner = owner;
24
		this.identity = identity;
25
	}
26
	public String getIdentity() {
27
		return identity;
27
	
28
	
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