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 ServerImpl implements Server { private Long id; private String serverType; private Address address; public Long getId() { return id; } public void setId(Long id) { this.id = id; } public String getServerType() { return serverType; } public void setServerType(String serverType) { this.serverType = serverType; } public Address getAddress() { return address; } public void setAddress(Address address) { this.address = address;
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/abstractembeddedcomponents/propertyref/ServerImpl.java
Method name: Method name:
Number of AST nodes: 0 Number of AST nodes: 0
1
public class Item {
1
public class 
2
    
2
ServerImpl implements Server {
3
private Long id;
3
	private Long id;
4
    
5
private String name;
4
	private String 
6
    private String description;
7
    
5
serverType;
6
	private Address address;
8
public String getDescription() {
7
	public Long get
9
        return description;
10
    }
11
    public void setDescription(String description) {
12
        this.description = description;
13
    }
14
    
8
Id() {
9
		return id;
10
	}
11
	public void setId(Long id) {
12
		this.id = id;
13
	}
15
public Long getId() {
14
	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
    public void setName(String name) {
25
        this.name = name;
26
    
15
ServerType() {
16
		return serverType;
17
	}
18
	public void setServerType(String serverType) {
19
		this.serverType = serverType;
20
	}
21
	public Address getAddress() {
22
		return address;
23
	}
24
	public void setAddress(Address address) {
25
		this.address = address;
26
	
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