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
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/jpa/cascade/ChildInfo.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 ChildInfo {
1
public class Being {
2
	private Long id;
2
	private long id;
3
	private Child owner;
3
	private String identity;
4
	private String info;
4
	private String 
5
	public ChildInfo() {
6
	}
7
	public ChildInfo(String info
5
location;
6
	private String species;
7
	
8
) {
8
	public void setLocation(String location) {
9
		this.info = info;
9
		this.
10
	}
11

10
location = location;
11
	}
12
	public Long getId() {
12
	public String getLocation() {
13
		return id;
13
		return 
14
	}
15
	public Child getOwner() {
16
		return owner;
17
	}
18
	public void setOwner(Child owner
14
location;
15
	}
19
) {
16
	public void setSpecies(String species) {
20
		this.owner = owner;
17
		this.
21
	}
22

18
species = species;
19
	}
23
	public String getInfo() {
20
	public String getSpecies() {
24
		return info;
21
		return 
25
	}
26

22
species;
23
	}
27
	public void setInfo(String info) {
24
	public void setIdentity(String identity) {
28
		this.info = info
25
		this.identity = identity;
26
	}
27
	public String getIdentity() {
28
		return identity
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