public class Item { private Long id; private String name; private String description; public String getDescription() { return description; } public void setDescription(String description) { this.description = description; } public Long getId() { return id; } public void setId(Long id) { this.id = id; } public String getName() { return name; } public void setName(String name) { this.name = name
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/testing/src/main/java/org/hibernate/test/cache/Item.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 Item {
1
public class Speech {
2
	private Long id;
2
	private Integer id;
3
	private String name;
3
	private String name;
4
	private String description;
4
	private 
5
	
6
	public String getDescription
5
Double length;
7
() {
6
	public Integer getId() {
8
		return description;
7
		return 
9
	}
8
id;
9
	}
10

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

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

20
	public String getName() {
25
	public String getName() {
21
		return name;
26
		return name;
22
	}
27
	}
28

23
	public void setName(String name) {
29
	public void setName(String name) {
24
		this.name = name
30
		this.name = name
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