public class ParentInfoAssigned { private Long id; private ParentAssigned owner; private String info; public ParentInfoAssigned() { } public ParentInfoAssigned(String info) { this.info = info; } public Long getId() { return id; } public ParentAssigned getOwner() { return owner; } public void setOwner(ParentAssigned owner) { this.owner = owner; } public String getInfo() { return info; } public void setInfo(String info) { this.info = info;
public class Continent { private Integer id; private String name; private Set countries; public Integer getId() { return id; } public void setId(Integer id) { this.id = id; } public String getName() { return name; } public void setName(String name) { this.name = name; } public Set getCountries() { return countries; } public void setCountries(Set countries) { this.countries = countries;
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/ParentInfoAssigned.java File path: /hibernate-distribution-3.3.2.GA/project/testsuite/src/test/java/org/hibernate/test/stats/Continent.java
Method name: Method name:
Number of AST nodes: 0 Number of AST nodes: 0
1
public class ParentInfoAssigned {
1
public class Continent {
2
	private Long id;
2
	private Integer id;
3
	private ParentAssigned owner;
3
	private 
4
	private String info;
5
	public ParentInfoAssigned() {
6
	}
7
	public ParentInfoAssigned(String info
4
String name;
5
	private Set countries;
8
) {
6
	public Integer getId() {
9
		this.info = info;
7
		
10
	}
11
	public Long getId(
8
return id;
9
	}
12
) {
10
	public void setId(Integer id) {
13
		return id;
11
		this.id = id;
14
	}
12
	}
15

16
	public ParentAssigned getOwner() {
13
	public String getName() {
17
		return owner;
14
		return 
18
	}
19

15
name;
16
	}
20
	public void setOwner(ParentAssigned owner) {
17
	public void setName(String name) {
21
		this.owner = owner;
18
		this.
22
	}
23

19
name = name;
20
	}
24
	public String getInfo() {
21
	public Set getCountries() {
25
		return info;
22
		return 
26
	}
27

23
countries;
24
	}
28
	public void setInfo(String info) {
25
	public void setCountries(Set countries) {
29
		this.info = info;
26
		this.countries = countries;
30
	
27
	
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