public class DeleteOrphanChild { private Long id; private Parent parent; public Long getId() { return id; } public void setId(Long id) { this.id = id; } public Parent getParent() { return parent; } public void setParent(Parent parent) { this.parent = parent
public class Customer { private Long id; private Person person; public Person getPerson() { return person; } public void setPerson(Person person) { this.person = person; } public Long getId() { return id; } public void setId(Long id) { this.id = id
Clone fragments detected by clone detection tool
File path: /hibernate-distribution-3.3.2.GA/project/testsuite/src/test/java/org/hibernate/test/cascade/DeleteOrphanChild.java File path: /hibernate-distribution-3.3.2.GA/project/testsuite/src/test/java/org/hibernate/test/onetoone/link/Customer.java
Method name: Method name:
Number of AST nodes: 0 Number of AST nodes: 0
1
public class DeleteOrphanChild {
1
public class Customer {
2
	private Long id;
2
	private Long id;
3
	private Parent parent;
3
	private P
4
erson person;
4
	public Long getId() {
5
	public Person getPerson() {
5
		return id;
6
		return person;
6
	}
7
	}
7
	public void setId(Long id) {
8
	public void set
8
		this.id = id
9
Person(Person person) {
9
;
10
		this.person = person;
10
	}
11
	}
11
	public Parent getParent() {
12
	public Long getId() {
12
		return parent;
13
		return id;
13
	}
14
	}
14
	public void setParent(Parent parent) {
15
	public void set
15
		this.parent = parent
16
Id(Long id) {
17
		this.id = id
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