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 Speech { private Integer id; private String name; private Double length; public Integer getId() { return id; } public void setId(Integer id) { this.id = id; } public Double getLength() { return length; } public void setLength(Double length) { this.length = length; } public String getName() { return name; } public void setName(String name) { this.name = name;
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/sql/hand/Speech.java
Method name: Method name:
Number of AST nodes: 0 Number of AST nodes: 0
1
public class ProductLine {
1
public class Speech {
2

2
	private String id;
3
	private Integer id;
3
	private String description;
4
	private String 
4
	private Set models = new HashSet();
5
	
6
	public String getDescription
5
name;
6
	private Double length;
7
() {
7
	public Integer getId() {
8
		return description;
8
		return 
9
	}
9
id;
10
	}
11

10
	public void setDescription(String description) {
12
	public void setId(Integer id) {
11
		this.description = description;
13
		this.
12
	}
13
	public String getId
14
id = id;
15
	}
14
() {
16
	public Double getLength() {
15
		return id;
17
		return 
16
	}
18
length;
19
	}
20

17
	public void setId(String id) {
21
	public void setLength(Double length) {
18
		this.id = id;
22
		this.
19
	}
23
length = length;
24
	}
25

20
	public Set getModels() {
26
	public String getName() {
21
		return models;
27
		return 
22
	}
28
name;
29
	}
30

23
	public void setModels(Set models) {
31
	public void setName(String name) {
24
		this.models = models;
32
		this.name = name;
25
	
33
	
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