public class ProductLine { private String id; private String description; private Set models = new HashSet(); public String getDescription() { return description; } public void setDescription(String description) { this.description = description; } public String getId() { return id; } public void setId(String id) { this.id = id; } public Set getModels() { return models; } public void setModels(Set models) { this.models = models
public class Being { private long id; private String identity; private String location; private String species; public void setLocation(String location) { this.location = location; } public String getLocation() { return location; } public void setSpecies(String species) { this.species = species; } public String getSpecies() { return species; } public void setIdentity(String identity) { this.identity = identity; } public String getIdentity() { return identity
Clone fragments detected by clone detection tool
File path: /hibernate-distribution-3.3.2.GA/project/testsuite/src/test/java/org/hibernate/test/batchfetch/ProductLine.java File path: /hibernate-distribution-3.3.2.GA/project/testsuite/src/test/java/org/hibernate/test/subselect/Being.java
Method name: Method name:
Number of AST nodes: 0 Number of AST nodes: 0
1
public class ProductLine {
1
public class Being {
2
	private String id;
2
	private long id;
3
	private String description;
3
	private String identity;
4
	private Set models = new HashSet();
4
	private S
5
	
6
	public String getDescription() {
7
		return description
5
tring location;
8
;
6
	private String species;
9
	}
7
	
10
	public void setDescription(String description) {
8
	public void setLocation(String location) {
11
		this.description = description;
9
		this.location = location;
12
	}
10
	}
13
	public String getId() {
11
	public String getLocation() {
14
		return id;
12
		return location;
15
	}
13
	}
16
	public void setId(String id) {
14
	public void setSpecies(String species) {
17
		this.id = id;
15
		this.species = species;
18
	}
16
	}
19
	public Set getModels() {
17
	public String getSpecies() {
20
		return models;
18
		return species;
21
	}
19
	}
22
	public void setModels(Set models) {
20
	public void setIdentity(String identity) {
23
		this.models = models
21
		this.identity = identity;
22
	}
23
	public String getIdentity() {
24
		return identity
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