public class Definition { private Long id; private Set values = new HashSet(); public Long getId() { return id; } public void setId(Long id) { this.id = id; } public Set getValues() { return values; } public void setValues(Set values) { this.values = values;
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/component/cascading/collection/Definition.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 Definition {
1
public 
2
    
2
abstract class Vehicle {
3
private Long id;
3
	private Long id;
4
	private Set values = new HashSet();
4
	private S
5

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

9
vin;
10
	}
10
	public void setId(Long id) {
11
	public void setVin(String vin) {
11
		this.id = id;
12
		this.
12
	}
13
	public Set getValues
13
vin = vin;
14
	}
14
() {
15
	public String getOwner() {
15
		return values;
16
		return 
16
	}
17

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