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 StateProvince { private Long id; private String name; private String isoCode; 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 String getIsoCode() { return isoCode; } public void setIsoCode(String isoCode) { this.isoCode = isoCode
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/hql/StateProvince.java
Method name: Method name:
Number of AST nodes: 0 Number of AST nodes: 0
1
public class Document {
1
public class StateProvince {
2
	private Long id;
2
	private Long id;
3
	private String location;
3
	private String 
4
	private User owner;
5

4
name;
5
	private String isoCode;
6
	public Long getId() {
6
	public Long getId() {
7
		return id;
7
		return id;
8
	}
8
	}
9

10
	public void setId(Long id) {
9
	public void setId(Long id) {
11
		this.id = id;
10
		this.id = id;
12
	}
11
	}
13

14
	public String getLocation() {
12
	public String getName() {
15
		return location;
13
		return 
16
	}
17

14
name;
15
	}
18
	public void setLocation(String location) {
16
	public void setName(String name) {
19
		this.location = location;
17
		this.
20
	}
21
	public User getOwner
18
name = name;
19
	}
22
() {
20
	public String getIsoCode() {
23
		return owner;
21
		return 
24
	}
25

22
isoCode;
23
	}
26
	public void setOwner(User owner) {
24
	public void setIsoCode(String isoCode) {
27
		this.owner = owner
25
		this.isoCode = isoCode
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