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 Joiner { private Long id; private String name; private String joinedName; public Long getId() { return id; } public void setId(Long id) { this.id = id; } public String getName() { return name; } public void setName(String name) { this.name = name; } public String getJoinedName() { return joinedName; } public void setJoinedName(String joinedName) { this.joinedName = joinedName
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/hql/Joiner.java
Method name: Method name:
Number of AST nodes: 0 Number of AST nodes: 0
1
public class Parent {
1
public class Joiner {
2
	private Long id;
2
	private Long id;
3
	private Set deleteOrphanChildren;
3
	private S
4
	private Set children
4
tring name;
5
;
5
	private String joinedName;
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 id) {
10
		this.id = id;
10
		this.id = id;
11
	}
11
	}
12
	public Set getDeleteOrphanChildren() {
12
	public S
13
		return deleteOrphanChildren;
14
	}
15
	public void setDeleteOrphanChildren(Set deleteOrphanChildren) {
16
		this.deleteOrphanChildren = deleteOrphanChildren
13
tring getName() {
14
		return name;
15
	}
16
	public void setName(String name) {
17
;
17
		this.name = name;
18
	}
18
	}
19
	public Set getChildren() {
19
	public String getJoinedName() {
20
		return children;
20
		return joinedName;
21
	}
21
	}
22
	public void setChildren(Set children) {
22
	public void setJoinedName(String joinedName) {
23
		this.children = children
23
		this.joinedName = joinedName
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