public class Y { private Long id; private String x; private X theX; /** * Returns the id. * @return Long */ public Long getId() { return id; } /** * Returns the x. * @return String */ public String getX() { return x; } /** * Sets the id. * @param id The id to set */ public void setId(Long id) { this.id = id; } /** * Sets the x. * @param x The x to set */ public void setX(String x) { this.x = x; } /** * @return */ public X getTheX() { return theX; } /** * @param x */ public void setTheX(X x) { theX = x
public class Continent { private Integer id; private String name; private Set countries; public Integer getId() { return id; } public void setId(Integer id) { this.id = id; } public String getName() { return name; } public void setName(String name) { this.name = name; } public Set getCountries() { return countries; } public void setCountries(Set countries) { this.countries = countries
Clone fragments detected by clone detection tool
File path: /hibernate-distribution-3.3.2.GA/project/testsuite/src/test/java/org/hibernate/test/legacy/Y.java File path: /hibernate-distribution-3.3.2.GA/project/testsuite/src/test/java/org/hibernate/test/stats/Continent.java
Method name: Method name:
Number of AST nodes: 0 Number of AST nodes: 0
1
public class Y {
1
public class Continent {
2
	private Long id;
2
	private Integer id;
3
	private String x;
3
	private String name;
4
	private X theX;
4
	private 
5
	/**
6
	 * Returns the id.
7
	 * @return Long
8
	 */
5
Set countries;
9
	public Long getId() {
6
	public Integer getId() {
10
		return id;
7
		return id;
11
	}
8
	}
12
	/**
13
	 * Returns the x.
14
	 * @return String
15
	 */
16
	public String getX() {
17
		return x;
18
	}
19
	/**
20
	 * Sets the id.
21
	 * @param id The id to set
22
	 */
23
	public void setId(Long id) {
9
	public void setId(Integer id) {
24
		this.id = id;
10
		this.id = id;
25
	}
11
	}
26
	/**
12
	
27
	 * Sets the x.
28
	 * @param x The x to set
29
	 */
13
public String getName() {
14
		return name;
15
	}
30
	public void setX(String x) {
16
	public void setName(String name) {
31
		this.x = x;
17
		this.
32
	}
33
	/**
34
	 * @return
35
	 */
18
name = name;
19
	}
36
	public X getTheX() {
20
	public Set getCountries() {
37
		return theX;
21
		return 
38
	}
39
	/**
40
	 * @param x
41
	 */
42
	public void setTheX(X x) {
43
		theX = x
22
countries;
23
	}
24
	public void setCountries(Set countries) {
25
		this.countries = countries
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