public class Suite { private Long id; private String location; private Set notes = new HashSet(); public Suite() { } public Suite(String location) { this.location = location; } 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 Set getNotes() { return notes; } public void setNotes(Set notes) { this.notes = notes
public class Person { private String name; private String employeeId; private Employee employee; public Person() {} public Person(String name) { this.name = name; } public Employee getEmployee() { return employee; } public void setEmployee(Employee employee) { this.employee = employee; } public String getEmployeeId() { return employeeId; } public void setEmployeeId(String employeeId) { this.employeeId = employeeId; } 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/deletetransient/Suite.java File path: /hibernate-distribution-3.3.2.GA/project/testsuite/src/test/java/org/hibernate/test/unconstrained/Person.java
Method name: Method name:
Number of AST nodes: 0 Number of AST nodes: 0
1
public class Suite {
1
public class 
2
	private Long id;
2
Person {
3
	
4
	private String name;
3
	private String location;
5
	private String 
4
	private Set notes = new HashSet();
5

6
employeeId;
7
	private Employee employee;
6
	public Suite() {
8
	public 
7
	}
8

9
Person() {}
9
	public Suite(String location) {
10
	public Person(String name) {
10
		this.location = location;
11
		this.
11
	}
12
	public Long getId
12
name = name;
13
	}
14
	
13
() {
15
	public Employee getEmployee() {
14
		return id;
16
		return 
15
	}
16

17
employee;
18
	}
19
	
17
	public void setId(Long id) {
20
	public void setEmployee(Employee employee) {
18
		this.id = id;
21
		this.
19
	}
20

22
employee = employee;
23
	}
24
	
21
	public String getLocation() {
25
	public String getEmployeeId() {
22
		return location;
26
		return 
23
	}
24

27
employeeId;
28
	}
29
	
25
	public void setLocation(String location) {
30
	public void setEmployeeId(String employeeId) {
26
		this.location = location;
31
		this.
27
	}
28

32
employeeId = employeeId;
33
	}
34
	
29
	public Set getNotes() {
35
	public String getName() {
30
		return notes;
36
		return n
31
	}
32

37
ame;
38
	}
39
	
33
	public void setNotes(Set notes) {
40
	public void setName(String name) {
34
		this.notes = notes
41
		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