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