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 abstract class Vehicle { private Long id; private String vin; private String owner; public String getVin() { return vin; } public void setVin(String vin) { this.vin = vin; } public String getOwner() { return owner; } public void setOwner(String owner) { this.owner = owner;
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/hql/Vehicle.java
Method name: Method name:
Number of AST nodes: 0 Number of AST nodes: 0
1
public class Address {
1
public abstract class Vehicle {
2
	private Long id;
2
	private Long id;
3
	private Set lines = new HashSet();
3
	private S
4

4
tring vin;
5
	private String owner;
5
	public Long getId() {
6
	public String getVin() {
6
		return id;
7
		return 
7
	}
8

8
vin;
9
	}
9
	public void setId(Long id) {
10
	public void setVin(String vin) {
10
		this.id = id;
11
		this.
11
	}
12

12
vin = vin;
13
	}
13
	public Set getLines() {
14
	public String getOwner() {
14
		return lines;
15
		return 
15
	}
16

16
owner;
17
	}
17
	public void setLines(Set lines) {
18
	public void setOwner(String owner) {
18
		this.lines = lines;
19
		this.owner = owner;
19
	
20
	
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