public class Address { private Long id; private Set lines = new HashSet(); public Long getId() { return id; } public void setId(Long id) { this.id = id; } public Set getLines() { return lines; } public void setLines(Set lines) { this.lines = lines;
public class Product implements Serializable { private String name; private Set parts = new HashSet(); public String getName() { return name; } public void setName(String name) { this.name = name; } public Set getParts() { return parts; } public void setParts(Set parts) { this.parts = parts;
Clone fragments detected by clone detection tool
File path: /hibernate-distribution-3.3.2.GA/project/testsuite/src/test/java/org/hibernate/test/any/Address.java File path: /hibernate-distribution-3.3.2.GA/project/testsuite/src/test/java/org/hibernate/test/orphan/Product.java
Method name: Method name:
Number of AST nodes: 0 Number of AST nodes: 0
1
public class Address {
1
public class Product implements Serializable {
2
	private Long id;
2
	private String name;
3
	private Set lines = new HashSet();
3
	private Set parts = new HashSet();
4

5
	public Long getId() {
4
	public String getName() {
6
		return id;
5
		return 
7
	}
8

6
name;
7
	}
9
	public void setId(Long id) {
8
	public void setName(String name) {
10
		this.id = id;
9
		this.
11
	}
12

10
name = name;
11
	}
13
	public Set getLines() {
12
	public Set getParts() {
14
		return lines;
13
		return parts;
15
	}
14
	}
16

17
	public void setLines(Set lines) {
15
	public void setParts(Set parts) {
18
		this.lines = lines;
16
		this.parts = parts;
19
	
17
	
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