public class Transaction { private Long id; private String description; private MonetoryAmount value; 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 MonetoryAmount getValue() { return value; } public void setValue(MonetoryAmount value) { this.value = value
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/cut/Transaction.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 Transaction {
1
public class Speech {
2

2
	private Long id;
3
	private Integer id;
3
	private String description;
4
	private String 
4
	private MonetoryAmount value;
5
	
6
	public String getDescription
5
name;
6
	private Double length;
7
() {
7
	public Integer getId() {
8
		return description;
8
		return 
9
	}
10
	
11
	public void setDescription(String description
9
id;
10
	}
12
) {
11
	public void setId(Integer id) {
13
		this.description = description;
12
		this.
14
	}
15
	
16
	public Long getId
13
id = id;
14
	}
17
() {
15
	public Double getLength() {
18
		return id;
16
		return 
19
	}
20
	
17
length;
18
	}
19

21
	public void setId(Long id) {
20
	public void setLength(Double length) {
22
		this.id = id;
21
		this.
23
	}
24
	
25
	public MonetoryAmount getValu
22
length = length;
23
	}
26
e() {
24
	public String getName() {
27
		return value;
25
		return name;
28
	}
26
	}
29
	
27

30
	public void setValue(MonetoryAmount value) {
28
	public void setName(String name) {
31
		this.value = value
29
		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