public class Bid { private Long id; private Auction item; private BigDecimal amount; private boolean successful; private Date datetime; public Long getId() { return id; } public void setId(Long id) { this.id = id; } public BigDecimal getAmount() { return amount; } public void setAmount(BigDecimal amount) { this.amount = amount; } public Auction getItem() { return item; } public void setItem(Auction item) { this.item = item; } public boolean isSuccessful() { return successful; } public void setSuccessful(boolean successful) { this.successful = successful; } public Date getDatetime() { return datetime; } public void setDatetime(Date datetime) { this.datetime = datetime
public class Detail implements Serializable { private Long id; private Master master; private int version; private String details; private boolean currentVersion; public boolean isCurrentVersion() { return currentVersion; } public void setCurrentVersion(boolean currentVersion) { this.currentVersion = currentVersion; } public String getDetails() { return details; } public void setDetails(String details) { this.details = details; } public Long getId() { return id; } public void setId(Long id) { this.id = id; } public Master getMaster() { return master; } public void setMaster(Master master) { this.master = master; } public int getVersion() { return version; } public void setVersion(int version) { this.version = version
Clone fragments detected by clone detection tool
File path: /hibernate-distribution-3.3.2.GA/project/testsuite/src/test/java/org/hibernate/test/bidi/Bid.java File path: /hibernate-distribution-3.3.2.GA/project/testsuite/src/test/java/org/hibernate/test/formulajoin/Detail.java
Method name: Method name:
Number of AST nodes: 0 Number of AST nodes: 0
1
public class Bid {
1
public class Detail implements Serializable {
2
	private Long id;
2
	private Long id;
3
	private Auction item;
3
	private Master master;
4
	private BigDecimal amount;
4
	private 
5
	private boolean successful;
6
	private Date datetime; 
7
	public Long getId() {
8
		return id;
9
	}
10
	public void setId(Long id) {
11
		this.id = id;
12
	}
13
	public BigDecimal getAmount
5
int version;
6
	private String details;
7
	private boolean currentVersion;
8
	
9
	public boolean isCurrentVersion() {
10
		return currentVersion;
11
	}
12
	public void setCurrentVersion(boolean currentVersion) {
13
		this.currentVersion = currentVersion;
14
	}
14
() {
15
	public String getDetails() {
15
		return amount;
16
		return details;
16
	}
17
	}
17
	public void setAmount(BigDecimal amount) {
18
	public void set
18
		this.amount = amount
19
Details(String details) {
19
;
20
		this.details = details;
20
	}
21
	}
21
	public Auction getItem() {
22
	public Long getId() {
22
		return item;
23
		return id;
23
	}
24
	}
24
	public void setItem(Auction item) {
25
	public void setId(Long id) {
25
		this.item = item;
26
		this.id = id;
26
	}
27
	}
27
	public boolean isSuccessful() {
28
	public Master getMaster() {
28
		return successful;
29
		return master;
29
	}
30
	}
30
	public void setSuccessful(boolean successful) {
31
	public void setMaster(Master master) {
31
		this.successful = successful;
32
		this.master = master;
32
	}
33
	}
33
	public Date getDatetime() {
34
	public int getVersion() {
34
		return datetime;
35
		return version;
35
	}
36
	}
36
	public void setDatetime(Date datetime) {
37
	public void set
37
		this.datetime = datetime
38
Version(int version) {
39
		this.version = version
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