public class ProductLine { private String id; private String description; private Set models = new HashSet(); public String getDescription() { return description; } public void setDescription(String description) { this.description = description; } public String getId() { return id; } public void setId(String id) { this.id = id; } public Set getModels() { return models; } public void setModels(Set models) { this.models = models
public class ParentInfo { private Long id; private Parent owner; private String info; public ParentInfo() { } public ParentInfo(String info) { this.info = info; } public Long getId() { return id; } public Parent getOwner() { return owner; } public void setOwner(Parent owner) { this.owner = owner; } public String getInfo() { return info; } public void setInfo(String info) { this.info = info
Clone fragments detected by clone detection tool
File path: /hibernate-distribution-3.3.2.GA/project/testsuite/src/test/java/org/hibernate/test/batchfetch/ProductLine.java File path: /hibernate-distribution-3.3.2.GA/project/testsuite/src/test/java/org/hibernate/test/jpa/cascade/ParentInfo.java
Method name: Method name:
Number of AST nodes: 0 Number of AST nodes: 0
1
public class ProductLine {
1
public class ParentInfo {
2

2
	private String id;
3
	private Long id;
3
	private String description;
4
	private 
4
	private Set models = new HashSet();
5
	
6
	public String getDescription(
5
Parent owner;
6
	private String info;
7
	public ParentInfo() {
8
	}
7
) {
9
	public ParentInfo(String info) {
8
		return description;
10
		
9
	}
10
	public void setDescription(String description
11
this.info = info;
12
	}
11
) {
13
	public Long getId() {
12
		this.description = description;
14
		
13
	}
14
	public String getId
15
return id;
16
	}
15
() {
17
	public Parent getOwner() {
16
		return id;
18
		return 
17
	}
19
owner;
20
	}
21

18
	public void setId(String id) {
22
	public void setOwner(Parent owner) {
19
		this.id = id;
23
		this.
20
	}
24
owner = owner;
25
	}
26

21
	public Set getModels() {
27
	public String getInfo() {
22
		return models;
28
		return 
23
	}
29
info;
30
	}
31

24
	public void setModels(Set models) {
32
	public void setInfo(String info) {
25
		this.models = models
33
		this.info = info
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