public class Person { private String name; private Employee employee; Person() {} public Person(String name) { this.name = name; } public Employee getEmployee() { return employee; } public void setEmployee(Employee employee) { this.employee = employee; } public String getName() { return name; } public void setName(String name) { this.name = name;
public class TextHolder { private Long id; private String theText; public TextHolder() { } public TextHolder(String theText) { this.theText = theText; } public Long getId() { return id; } public void setId(Long id) { this.id = id; } public String getTheText() { return theText; } public void setTheText(String theText) { this.theText = theText;
Clone fragments detected by clone detection tool
File path: /hibernate-distribution-3.3.2.GA/project/testsuite/src/test/java/org/hibernate/test/lazyonetoone/Person.java File path: /hibernate-distribution-3.3.2.GA/project/testsuite/src/test/java/org/hibernate/test/readonly/TextHolder.java
Method name: Method name:
Number of AST nodes: 0 Number of AST nodes: 0
1
public class Person {
1
public class TextHolder {
2
	private String name;
2
	private 
3
	private Employee employee;
4
	Person
3
Long id;
4
	private String theText;
5
() {
5
	public TextHolder() {
6
}
6
	}
7
	public Person(String name) {
7
	public TextHolder(String theText) {
8
		this.name = name;
8
		this.theText = theText;
9
	}
9
	}
10
	public Employee getEmployee() {
10
	public Long getId() {
11
		return employee;
11
		return id;
12
	}
12
	}
13
	public void setEmployee(Employee employee) {
13
	public void set
14
		this.employee = employee
14
Id(Long id) {
15
;
15
		this.id = id;
16
	}
16
	}
17
	public String getName() {
17
	public String getTheText() {
18
		return name;
18
		return theText;
19
	}
19
	}
20
	public void setName(String name) {
20
	public void setTheText(String theText) {
21
		this.name = name;
21
		this.theText = theText;
22
	
22
	
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