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