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 Being { private long id; private String identity; private String location; private String species; public void setLocation(String location) { this.location = location; } public String getLocation() { return location; } public void setSpecies(String species) { this.species = species; } public String getSpecies() { return species; } public void setIdentity(String identity) { this.identity = identity; } public String getIdentity() { return identity;
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/subselect/Being.java
Method name: Method name:
Number of AST nodes: 0 Number of AST nodes: 0
1
public class Parent {
1
public class Being {
2
	private Long id;
2
	private long id;
3
	private Set deleteOrphanChildren;
3
	private S
4
	private Set childre
4
tring identity;
5
n;
5
	private String location;
6
	public Long getId() {
6
	p
7
		return id;
7
rivate String species;
8
	}
8
	
9
	public void setId(Long id) {
9
	public void set
10
		this.id = id
10
Location(String location) {
11
;
11
		this.location = location;
12
	}
12
	}
13
	public Set getDeleteOrphanChildren() {
13
	public S
14
		return deleteOrphanChildre
14
tring getLocation() {
15
n;
15
		return location;
16
	}
16
	}
17
	public void setDeleteOrphanChildren(Set deleteOrphanChildren) {
17
	public void set
18
		this.deleteOrphanChildren = deleteOrphanChildren
18
Species(String species) {
19
;
19
		this.species = species;
20
	}
20
	}
21
	public Set getChildren() {
21
	public String getSpecies() {
22
		return children;
22
		return species;
23
	}
23
	}
24
	public void setChildren(Set children) {
24
	public void set
25
		this.children = children
25
Identity(String identity) {
26
		this.identity = identity;
27
	}
28
	public String getIdentity() {
26
;
29
		return identity;
27
	
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