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 Document { private Long id; private String location; private User owner; public Long getId() { return id; } public void setId(Long id) { this.id = id; } public String getLocation() { return location; } public void setLocation(String location) { this.location = location; } public User getOwner() { return owner; } public void setOwner(User owner) { this.owner = owner
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/component/cascading/toone/Document.java
Method name: Method name:
Number of AST nodes: 0 Number of AST nodes: 0
1
public class ProductLine {
1
public class Document {
2

2
	private String id;
3
	private Long id;
3
	private String description;
4
	private String location;
4
	private Set models = new HashSet();
5
	private 
5
	
6
User owner;
7

6
	public String getDescription() {
8
	public Long getId() {
7
		return description;
9
		return 
8
	}
10
id;
11
	}
12

9
	public void setDescription(String description) {
13
	public void setId(Long id) {
10
		this.description = description;
14
		this.
11
	}
15
id = id;
16
	}
17

12
	public String getId() {
18
	public String getLocation() {
13
		return id;
19
		return 
14
	}
20
location;
21
	}
22

15
	public void setId(String id) {
23
	public void setLocation(String location) {
16
		this.id = id;
24
		this.
17
	}
25
location = location;
26
	}
27

18
	public Set getModels() {
28
	public User getOwner() {
19
		return models;
29
		return 
20
	}
30
owner;
31
	}
32

21
	public void setModels(Set models) {
33
	public void setOwner(User owner) {
22
		this.models = models
34
		this.owner = owner
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