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
public class DataPoint { private long id; private int sequence; private BigDecimal x; private BigDecimal y; private String description; /** * @return Returns the id. */ public long getId() { return id; } /** * @param id The id to set. */ public void setId(long id) { this.id = id; } /** * Getter for property 'sequence'. * * @return Value for property 'sequence'. */ public int getSequence() { return sequence; } /** * Setter for property 'sequence'. * * @param sequence Value to set for property 'sequence'. */ public void setSequence(int sequence) { this.sequence = sequence; } /** * @return Returns the description. */ public String getDescription() { return description; } /** * @param description The description to set. */ public void setDescription(String description) { this.description = description; } /** * @return Returns the x. */ public BigDecimal getX() { return x; } /** * @param x The x to set. */ public void setX(BigDecimal x) { this.x = x; } /** * @return Returns the y. */ public BigDecimal getY() { return y; } /** * @param y The y to set. */ public void setY(BigDecimal y) { this.y = y
Clone fragments detected by clone detection tool
File path: /hibernate-distribution-3.3.2.GA/project/testsuite/src/test/java/org/hibernate/test/formulajoin/Detail.java File path: /hibernate-distribution-3.3.2.GA/project/testsuite/src/test/java/org/hibernate/test/pagination/DataPoint.java
Method name: Method name:
Number of AST nodes: 0 Number of AST nodes: 0
1
public class Detail implements Serializable {
1
public class DataPoint {
2
	private Long id;
2
	private long id;
3
	private Master master;
3
	private 
4
	private int version;
5
	private String details;
6
	private boolean currentVersion;
7
	
8
	public boolean isCurrentVersion() {
9
		return currentVersion;
10
	}
11
	public void setCurrentVersion(boolean currentVersion) {
12
		this.currentVersion = currentVersion;
13
	}
4
int sequence;
5
	private BigDecimal x;
6
	private BigDecimal y;
7
	private String description;
8
	/**
9
	 * @return Returns the id.
10
	 */
11
	public long getId() {
12
		return id;
13
	}
14
	/**
15
	 * @param id The id to set.
16
	 */
17
	public void setId(long id) {
18
		this.id = id;
19
	}
20
	/**
21
	 * Getter for property 'sequence'.
22
	 *
23
	 * @return Value for property 'sequence'.
24
	 */
14
	public String getDetails() {
25
	public int getSequence() {
15
		return details;
26
		return 
16
	}
17
	public void setDetails(String details) {
18
		this.details = details;
19
	}
27
sequence;
28
	}
29
	/**
30
	 * Setter for property 'sequence'.
31
	 *
32
	 * @param sequence Value to set for property 'sequence'.
33
	 */
34
	public void setSequence(int sequence) {
35
		this.sequence = sequence;
36
	}
37
	/**
38
	 * @return Returns the description.
39
	 */
20
	public Long getId() {
40
	public String getDescription() {
21
		return id;
41
		return 
22
	}
23
	public void setId(Long id) {
24
		this.id = id;
25
	}
26
	public Master getMaster() {
27
		return master;
28
	}
29
	public void setMaster(Master master) {
30
		this.master = master;
31
	}
32
	public int getVersion() {
33
		return version;
34
	}
35
	public void setVersion(int version) {
36
		this.version = version
42
description;
43
	}
44
	/**
45
	 * @param description The description to set.
46
	 */
47
	public void setDescription(String description) {
48
		this.description = description;
49
	}
50
	/**
51
	 * @return Returns the x.
52
	 */
53
	public BigDecimal getX() {
54
		return x;
55
	}
56
	/**
57
	 * @param x The x to set.
58
	 */
59
	public void setX(BigDecimal x) {
60
		this.x = x;
61
	}
62
	/**
63
	 * @return Returns the y.
64
	 */
65
	public BigDecimal getY() {
66
		return y;
67
	}
68
	/**
69
	 * @param y The y to set.
70
	 */
71
	public void setY(BigDecimal y) {
72
		this.y = y
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