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 Eye { private long id; private String name; private Jay jay; private Set jays = new HashSet(); /** * @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 jay. */ public Jay getJay() { return jay; } /** * @param jay The jay to set. */ public void setJay(Jay jay) { this.jay = jay; } /** * @return Returns the jays. */ public Set getJays() { return jays; } /** * @param jays The jays to set. */ public void setJays(Set jays) { this.jays = jays; } /** * @return Returns the name. */ public String getName() { return name; } /** * @param name The name to set. */ public void setName(String name) { this.name = name
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/Eye.java
Method name: Method name:
Number of AST nodes: 0 Number of AST nodes: 0
1
public class DataPoint {
1
public class Eye {
2
	private long id;
2
	private long id;
3
	private BigDecimal x;
3
	private 
4
	private BigDecimal y;
5
	private String description;
4
String name;
5
	private Jay jay;
6
	private Set jays = new HashSet();
6
	/**
7
	/**
7
	 * @return Returns the description.
8
	 * @return Returns the id.
8
	 */
9
	 */
9
	public String getDescription() {
10
	public long getId() {
10
		return description;
11
		return id;
11
	}
12
	}
12
	/**
13
	/**
13
	 * @param description The description to set.
14
	 * @param id The id to set.
14
	 */
15
	 */
15
	public void setDescription(String description) {
16
	public void set
16
		this.description = description
17
Id(long id) {
17
;
18
		this.id = id;
18
	}
19
	}
19
	/**
20
	/**
20
	 * @return Returns the id.
21
	 * @return Returns the jay.
21
	 */
22
	 */
22
	public long getId() {
23
	public Jay getJay() {
23
		return id;
24
		return jay;
24
	}
25
	}
25
	/**
26
	/**
26
	 * @param id The id to set.
27
	 * @param jay The jay to set.
27
	 */
28
	 */
28
	public void setId(long id) {
29
	public void setJay(Jay jay) {
29
		this.id = id;
30
		this.jay = jay;
30
	}
31
	}
31
	/**
32
	/**
32
	 * @return Returns the x.
33
	 * @return Returns the jays.
33
	 */
34
	 */
34
	public BigDecimal getX() {
35
	public Set getJays() {
35
		return x;
36
		return jays;
36
	}
37
	}
37
	/**
38
	/**
38
	 * @param x The x to set.
39
	 * @param jays The jays to set.
39
	 */
40
	 */
40
	public void setX(BigDecimal x) {
41
	public void set
41
		this.x = x
42
Jays(Set jays) {
42
;
43
		this.jays = jays;
43
	}
44
	}
44
	/**
45
	/**
45
	 * @return Returns the y.
46
	 * @return Returns the name.
46
	 */
47
	 */
47
	public BigDecimal getY() {
48
	public String getName() {
48
		return y;
49
		return name;
49
	}
50
	}
50
	/**
51
	/**
51
	 * @param y The y to set.
52
	 * @param name The name to set.
52
	 */
53
	 */
53
	public void setY(BigDecimal y) {
54
	public void set
54
		this.y = y
55
Name(String name) {
56
		this.name = name
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