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;
public class Document { private Long id; private String location; private User owner; public Long getId() { return id; } public void setId(Long id) { this.id = id; } public String getLocation() { return location; } public void setLocation(String location) { this.location = location; } public User getOwner() { return owner; } public void setOwner(User 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/abstractembeddedcomponents/propertyref/ServerImpl.java File path: /hibernate-distribution-3.3.2.GA/project/testsuite/src/test/java/org/hibernate/test/component/cascading/toone/Document.java
Method name: Method name:
Number of AST nodes: 0 Number of AST nodes: 0
1
public class ServerImpl implements Server {
1
public class Document {
2
	private Long id;
2
	private Long id;
3
	private String serverType;
3
	private String location;
4
	private Address address;
4
	private User owner;
5
	public Long getId() {
5
	public Long getId() {
6
		return id;
6
		return id;
7
	}
7
	}
8
	public void setId(Long id) {
8
	public void setId(Long id) {
9
		this.id = id;
9
		this.id = id;
10
	}
10
	}
11
	public String getServerType() {
11
	public String getLocation() {
12
		return serverType;
12
		return location;
13
	}
13
	}
14
	public void setServerType(String serverType) {
14
	public void set
15
		this.serverType = serverType;
16
	}
17
	public Address getAddress
15
Location(String location) {
16
		this.location = location;
17
	}
18
() {
18
	public User getOwner() {
19
		return address;
19
		return owner;
20
	}
20
	}
21
	public void setAddress(Address address) {
21
	public void set
22
		this.address = address
22
Owner(User owner) {
23
;
23
		this.owner = owner;
24
	
24
	
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