public class Parent { private Long id; private Set deleteOrphanChildren; private Set children; public Long getId() { return id; } public void setId(Long id) { this.id = id; } public Set getDeleteOrphanChildren() { return deleteOrphanChildren; } public void setDeleteOrphanChildren(Set deleteOrphanChildren) { this.deleteOrphanChildren = deleteOrphanChildren; } public Set getChildren() { return children; } public void setChildren(Set children) { this.children = children;
public class ChildInfo { private Long id; private Child owner; private String info; public ChildInfo() { } public ChildInfo(String info) { this.info = info; } public Long getId() { return id; } public Child getOwner() { return owner; } public void setOwner(Child owner) { this.owner = owner; } public String getInfo() { return info; } public void setInfo(String info) { this.info = info;
Clone fragments detected by clone detection tool
File path: /hibernate-distribution-3.3.2.GA/project/testsuite/src/test/java/org/hibernate/test/cascade/Parent.java File path: /hibernate-distribution-3.3.2.GA/project/testsuite/src/test/java/org/hibernate/test/jpa/cascade/ChildInfo.java
Method name: Method name:
Number of AST nodes: 0 Number of AST nodes: 0
1
public class Parent {
1
public class ChildInfo {
2
	private Long id;
2
	private Long id;
3
	private Set deleteOrphanChildren;
3
	private 
4
	private Set children;
5
	public Long getId() {
6
		return id;
7
	}
8
	public void setId(Lo
4
Child owner;
5
	private String info;
6
	public ChildInfo() {
7
	}
9
ng id) {
8
	public ChildInfo(String info) {
10
		this.id = id;
9
		this.info = i
11
	}
12
	public Set getDeleteOrphanChildren
10
nfo;
11
	}
12
	public Long getId() {
13
		return id;
14
	}
13
() {
15
	public Child getOwner() {
14
		return deleteOrphanChildren;
16
		return 
15
	}
16
	public void setDeleteOrphanChildren(Set deleteOrphanChildren
17
owner;
18
	}
17
) {
19
	public void setOwner(Child owner) {
18
		this.deleteOrphanChildren = deleteOrphanChildren;
20
		this.
19
	}
20
	public Set getChildren
21
owner = owner;
22
	}
21
() {
23
	public String getInfo() {
22
		return children;
24
		return 
23
	}
25
info;
26
	}
27

24
	public void setChildren(Set children) {
28
	public void setInfo(String info) {
25
		this.children = children;
29
		this.info = info;
26
	
30
	
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