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 Object2 { private Long id; private String dummy; private MainObject belongsToMainObj; public Long getId() { return id; } public void setId(Long l) { this.id = l; } public String getDummy() { return dummy; } public void setDummy(String string) { dummy = string; } public MainObject getBelongsToMainObj() { return belongsToMainObj; } public void setBelongsToMainObj(MainObject object) { belongsToMainObj = object;
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/legacy/Object2.java
Method name: Method name:
Number of AST nodes: 0 Number of AST nodes: 0
1
public class Parent {
1
public class Object2 {
2
	private Long id;
2
	private Long id;
3
	private Set deleteOrphanChildren;
3
	private S
4
	private Set children
4
tring dummy;
5
;
5
	private MainObject belongsToMainObj;
6
	public Long getId() {
6
	public Long getId() {
7
		return id;
7
		return id;
8
	}
8
	}
9
	public void setId(Long id) {
9
	public void setId(Long l) {
10
		this.id = id;
10
		this.id = l;
11
	}
11
	}
12
	
12
	public Set getDeleteOrphanChildren() {
13
	public S
13
		return deleteOrphanChildren;
14
	}
15
	public void setDeleteOrphanChildren(Set deleteOrphanChildren) {
16
		this.deleteOrphanChildren = deleteOrphanChildren;
17
	}
18
	public Set getChildren() {
19
		return children;
20
	}
21
	public void setChildren(Set children) {
22
		this.children = children
14
tring getDummy() {
15
		return dummy;
16
	}
17
	public void setDummy(String string) {
18
		dummy = string;
19
	}
20
	public MainObject getBelongsToMainObj() {
21
		return belongsToMainObj;
22
	}
23
	public void setBelongsToMainObj(MainObject object) {
23
;
24
		belongsToMainObj = object;
24
	
25
	
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