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 StateProvince { private Long id; private String name; private String isoCode; 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 String getIsoCode() { return isoCode; } public void setIsoCode(String isoCode) { this.isoCode = isoCode;
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/hql/StateProvince.java
Method name: Method name:
Number of AST nodes: 0 Number of AST nodes: 0
1
public class Transaction {
1
public class StateProvince {
2
	private Long id;
2
	private Long id;
3
	private String description;
3
	private String 
4
	private MonetoryAmount valu
4
name;
5
e;
5
	private String isoCode;
6
	
7
	public String getDescription() {
6
	public Long getId() {
8
		return description;
7
		return id;
9
	}
8
	}
10
	
11
	public void setDescription(String description) {
9
	public void set
12
		this.description = description
10
Id(Long id) {
13
;
11
		this.id = id;
14
	}
12
	}
15
	
16
	public Long getId() {
13
	public String getName() {
17
		return id;
14
		return name;
18
	}
15
	}
19
	
20
	public void setId(Long id) {
16
	public void set
21
		this.id = id
17
Name(String name) {
22
;
18
		this.name = name;
23
	}
19
	}
24
	
25
	public MonetoryAmount getValue() {
20
	public String getIsoCode() {
26
		return value;
21
		return isoCode;
27
	}
22
	}
28
	
29
	public void setValue(MonetoryAmount value) {
23
	public void set
30
		this.value = valu
24
IsoCode(String isoCode) {
31
e;
25
		this.isoCode = isoCode;
32
	
26
	
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