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 ParentInfo { private Long id; private Parent owner; private String info; public ParentInfo() { } public ParentInfo(String info) { this.info = info; } public Long getId() { return id; } public Parent getOwner() { return owner; } public void setOwner(Parent owner) { this.owner = owner; } public String getInfo() { return info; } public void setInfo(String info) { this.info = info
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/jpa/cascade/ParentInfo.java
Method name: Method name:
Number of AST nodes: 0 Number of AST nodes: 0
1
public class ServerImpl implements Server {
1
public class ParentInfo {
2
	private Long id;
2
	private Long id;
3
	private String serverType;
3
	private 
4
	private Address address
4
Parent owner;
5
;
5
	private String info;
6
	public Long getId() {
6
	public 
7
		return id;
8
	}
9
	public void setId(Long id) {
10
		this.id =
7
ParentInfo() {
8
	}
9
	public ParentInfo(String info) {
10
		this.info = info;
11
	}
12
	public Long getId() {
11
 id;
13
		return id;
12
	}
14
	}
13
	public String getServerType() {
15
	public Parent getOwner() {
14
		return serverType;
16
		return owner;
15
	}
17
	}
16
	public void setServerType(String serverType) {
18
	public void set
17
		this.serverType = serverType;
18
	}
19
	public Address getAddress
19
Owner(Parent owner) {
20
		this.owner = owner;
21
	}
20
() {
22
	public String getInfo() {
21
		return address;
23
		return info;
22
	}
24
	}
23
	public void setAddress(Address address) {
25
	public void set
24
		this.address = address
26
Info(String info) {
27
		this.info = info
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