public class Point implements Serializable { private BigDecimal x; private BigDecimal y; private String description; private Object row; Point() {} public Point(BigDecimal x, BigDecimal y) { this.x = x; this.y = y; } public BigDecimal getX() { return x; } void setX(BigDecimal x) { this.x = x; } public BigDecimal getY() { return y; } void setY(BigDecimal y) { this.y = y; } public String getDescription() { return description; } public void setDescription(String description) { this.description = description; } public Object getRow() { return row; } public void setRow(Object row) { this.row = row
public class Site { private String name; private String description; private Set employees = new HashSet(); private Set managers = new HashSet(); Site() {} public Site(String name) { this.name=name; } public Set getManagers() { return managers; } public void setManagers(Set managers) { this.managers = managers; } public String getDescription() { return description; } public void setDescription(String description) { this.description = description; } public Set getEmployees() { return employees; } public void setEmployees(Set employees) { this.employees = employees; } public String getName() { return name; } public void setName(String name) { this.name = name
Clone fragments detected by clone detection tool
File path: /hibernate-distribution-3.3.2.GA/project/testsuite/src/test/java/org/hibernate/test/rowid/Point.java File path: /hibernate-distribution-3.3.2.GA/project/testsuite/src/test/java/org/hibernate/test/ternary/Site.java
Method name: Method name:
Number of AST nodes: 0 Number of AST nodes: 0
1
public class Point implements Serializable {
1
public class 
2
	private BigDecimal x;
3
	private BigDecimal y;
4
	private String description;
5
	private Object row;
6
	Point() {}
7
	
8
	public Point(BigDecimal x, BigDecimal y) {
9
		this.x = x;
10
		this.y = y;
11
	}
12
	public BigDecimal getX() {
13
		return x;
14
	}
15
	void setX(BigDecimal x
2
Site {
3
	private String name;
4
	private String description;
5
	private Set employees = new HashSet();
6
	private Set managers = new HashSet();
7
	Site() {}
16
) {
8
	public Site(String name) {
17
		this.x = x;
9
		this.name=name;
18
	}
10
	}
19
	public BigDecimal getY() {
11
	public Set getManagers() {
20
		return y;
12
		return 
21
	}
22
	void setY(BigDecimal y) {
23
		this.y = y
13
managers;
14
	}
15
	public void setManagers(Set managers) {
24
;
16
		this.managers = managers;
25
	}
17
	}
26
	public String getDescription() {
18
	public String getDescription() {
27
		return description;
19
		return description;
28
	}
20
	}
29
	public void setDescription(String description) {
21
	public void setDescription(String description) {
30
		this.description = description;
22
		this.description = description;
31
	}
23
	}
32
	public Object getRow() {
24
	public Set getEmployees() {
33
		return row;
25
		return employees;
34
	}
26
	}
35
	public void setRow(Object row) {
27
	public void set
36
		this.row = row
28
Employees(Set employees) {
29
		this.employees = employees;
30
	}
31
	public String getName() {
32
		return name;
33
	}
34
	public void setName(String name) {
35
		this.name = name
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