public class Speech { private Integer id; private String name; private Double length; public Integer getId() { return id; } public void setId(Integer id) { this.id = id; } public Double getLength() { return length; } public void setLength(Double length) { this.length = length; } public String getName() { return name; } public void setName(String name) { this.name = name
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/sql/hand/Speech.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 Speech {
1
public class Continent {
2
	private Integer id;
2
	private Integer id;
3
	private String name;
3
	private String name;
4
	private Double length;
4
	private 
5

5
Set countries;
6
	public Integer getId() {
6
	public Integer getId() {
7
		return id;
7
		return id;
8
	}
8
	}
9

10
	public void setId(Integer id) {
9
	public void setId(Integer id) {
11
		this.id = id;
10
		this.id = id;
12
	}
11
	}
13

14
	public Double getLength() {
12
	public String getName() {
15
		return length;
13
		return 
16
	}
17

14
name;
15
	}
18
	public void setLength(Double length) {
16
	public void setName(String name) {
19
		this.length = length;
17
		this.
20
	}
21
	public String getName
18
name = name;
19
	}
22
() {
20
	public Set getCountries() {
23
		return name;
21
		return 
24
	}
25

22
countries;
23
	}
26
	public void setName(String name) {
24
	public void setCountries(Set countries) {
27
		this.name = name
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