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 StateProvince { private Long id; private String name; private String isoCode; 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 getIsoCode() { return isoCode; } public void setIsoCode(String isoCode) { this.isoCode = isoCode
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/StateProvince.java
Method name: Method name:
Number of AST nodes: 0 Number of AST nodes: 0
1
public class Parent {
1
public class StateProvince {
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 isoCode;
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
13
tring getName() {
14
;
14
		return name;
15
	}
15
	}
16
	public void setDeleteOrphanChildren(Set deleteOrphanChildren) {
16
	public void set
17
		this.deleteOrphanChildren = deleteOrphanChildren
17
Name(String name) {
18
;
18
		this.name = name;
19
	}
19
	}
20
	public Set getChildren() {
20
	public String getIsoCode() {
21
		return children;
21
		return isoCode;
22
	}
22
	}
23
	public void setChildren(Set children) {
23
	public void setIsoCode(String isoCode) {
24
		this.children = children
24
		this.isoCode = isoCode
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