public class Item { private Long id; private String name; private String description; public String getDescription() { return description; } public void setDescription(String description) { this.description = description; } 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 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/cache-jbosscache2/src/test/java/org/hibernate/test/cache/jbc2/functional/Item.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 Item {
1
public class 
2
    
2
Being {
3
private Long id;
3
	private long id;
4
    private String name;
4
	private String 
5
    
5
identity;
6
private String description;
6
	private String 
7
    public String getDescription() {
8
        return description;
9
    }
10
    
7
location;
8
	private String species;
9
	
11
public void setDescription(String description) {
10
	public void setLocation(String location) {
12
        this.description = description;
13
    }
14
    
11
		this.location = location;
12
	}
15
public Long getId() {
13
	public String get
16
        return id;
17
    }
18
    public void setId(Long id) {
19
        this.id = id;
20
    }
21
    public String getName() {
22
        return name;
23
    }
24
    
14
Location() {
15
		return location;
16
	}
17
	public void setSpecies(String species) {
18
		this.species = species;
19
	}
20
	public String getSpecies() {
21
		return species;
22
	}
25
public void setName(String name) {
23
	public void set
26
        this.name = name;
27
    
24
Identity(String identity) {
25
		this.identity = identity;
26
	}
27
	public String getIdentity() {
28
		return identity;
29
	
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