public class Joiner { private Long id; private String name; private String joinedName; public Long getId() { return id; } public void setId(Long id) { this.id = id; } public String getName() { return name; } public void setName(String name) { this.name = name; } public String getJoinedName() { return joinedName; } public void setJoinedName(String joinedName) { this.joinedName = joinedName;
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/hql/Joiner.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 Joiner {
1
public class Continent {
2
	private Long id;
2
	private Integer id;
3
	private String name;
3
	private String name;
4
	private String joinedName;
4
	private Set countries;
5
	public Long getId() {
5
	public Integer getId() {
6
		return id;
6
		return id;
7
	}
7
	}
8
	public void setId(Long id) {
8
	public void setId(Integer id) {
9
		this.id = id;
9
		this.id = id;
10
	}
10
	}
11
	public String getName() {
11
	public String getName() {
12
		return name;
12
		return name;
13
	}
13
	}
14
	public void setName(String name) {
14
	public void setName(String name) {
15
		this.name = name;
15
		this.name = name;
16
	}
16
	}
17
	public String getJoinedName() {
17
	public Set getCountries() {
18
		return joinedName;
18
		return countries;
19
	}
19
	}
20
	public void setJoinedName(String joinedName) {
20
	public void setCountries(Set countries) {
21
		this.joinedName = joinedName;
21
		this.countries = countries;
22
	
22
	
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