public class DataPoint { private long id; private BigDecimal x; private BigDecimal y; private String description; /** * @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 id. */ public long getId() { return id; } /** * @param id The id to set. */ public void setId(long id) { this.id = id; } /** * @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
public class E { private Long id; private float amount; private A reverse; private Set as; /** * Returns the amount. * @return float */ public float getAmount() { return amount; } /** * Returns the id. * @return long */ public Long getId() { return id; } /** * Sets the amount. * @param amount The amount to set */ public void setAmount(float amount) { this.amount = amount; } /** * Sets the id. * @param id The id to set */ public void setId(Long id) { this.id = id; } public A getReverse() { return reverse; } public void setReverse(A a) { reverse = a; } /** * @return Returns the as. */ public Set getAs() { return as; } /** * @param as The as to set. */ public void setAs(Set as) { this.as = as
Clone fragments detected by clone detection tool
File path: /hibernate-distribution-3.3.2.GA/project/testsuite/src/test/java/org/hibernate/test/batch/DataPoint.java File path: /hibernate-distribution-3.3.2.GA/project/testsuite/src/test/java/org/hibernate/test/legacy/E.java
Method name: Method name:
Number of AST nodes: 0 Number of AST nodes: 0
1
public class DataPoint {
1
public class E {
2
	private long id;
2
	private Long id;
3
	private BigDecimal x;
3
	private 
4
	private BigDecimal y;
5
	private String description
4
float amount;
5
	private A reverse;
6
;
6
	private Set as;
7
	/**
7
	/**
8
	 * @return Returns the description.
8
	 * Returns the 
9
	 */
10
	public String getDescription
9
amount.
10
	 * @return float
11
	 */
11
() {
12
	public float getAmount() {
12
		return description;
13
		return amount;
13
	}
14
	}
14
	
15
	
15
/**
16
	/**
16
	 * @param description The description to set.
17
	 * 
17
	 */
18
	public void setDescription(String description) {
19
		this.description = description
18
Returns the id.
19
	 * @return long
20
	 */
21
	public Long getId() {
20
;
22
		return id;
21
	}
23
	}
22
	
24
	
23
/**
25
	/**
24
	 * @return Returns the id.
26
	 * 
25
	 */
26
	public long getId() {
27
		return id
27
Sets the amount.
28
	 * @param amount The amount to set
29
	 */
30
	public void setAmount(float amount) {
28
;
31
		this.amount = amount;
29
	}
32
	}
30
	
33
	
31
/**
34
	/**
32
	
35
	 * Sets the id.
33
 * @param id The id to set.
36
	 * @param id The id to set
34
	 */
37
	 */
35
	public void setId(long id) {
38
	public void setId(Long id) {
36
		this.id = id;
39
		this.id = id;
37
	}
40
	}
38
	/**
41
	
39
	 * @return Returns the x.
40
	 */
41
	public BigDecimal getX() {
42
		return x;
43
	}
44
	/**
45
	 * @param x The x to set.
46
	 */
42
	public A getReverse() {
43
		return reverse;
44
	}
47
	public void setX(BigDecimal x) {
45
	public void set
48
		this.x
46
Reverse(A a) {
49
 = x;
47
		reverse = a;
50
	}
48
	}
51
	/**
49
	/**
52
	 * @return Returns the y.
50
	 * @return Returns the as.
53
	 */
51
	 */
54
	public BigDecimal getY() {
52
	public Set getAs() {
55
		return y;
53
		return as;
56
	}
54
	}
57
	/**
55
	/**
58
	 * @param y The y to set.
56
	 * @param as The as to set.
59
	 */
57
	 */
60
	public void setY(BigDecimal y) {
58
	public void setAs(Set as) {
61
		this.y = y
59
		this.as = as
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