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 Parent { private Long id; private Set deleteOrphanChildren; private Set children; public Long getId() { return id; } public void setId(Long id) { this.id = id; } public Set getDeleteOrphanChildren() { return deleteOrphanChildren; } public void setDeleteOrphanChildren(Set deleteOrphanChildren) { this.deleteOrphanChildren = deleteOrphanChildren; } public Set getChildren() { return children; } public void setChildren(Set children) { this.children = children;
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/cascade/Parent.java
Method name: Method name:
Number of AST nodes: 0 Number of AST nodes: 0
1
public class ServerImpl implements Server {
1
public class Parent {
2
	private Long id;
2
	private Long id;
3
	private String serverType;
3
	private S
4
	private Address address;
5

4
et deleteOrphanChildren;
5
	private Set children;
6
	public Long getId() {
6
	public Long getId() {
7
		return id;
7
		return id;
8
	}
8
	}
9

10
	public void setId(Long id) {
9
	public void setId(Long id) {
11
		this.id = id;
10
		this.id = id;
12
	}
11
	}
13

14
	public String getServerType() {
12
	public Set getDeleteOrphanChildren() {
15
		return serverType;
13
		return 
16
	}
17
	public void setServerType(String serverType
14
deleteOrphanChildren;
15
	}
18
) {
16
	public void setDeleteOrphanChildren(Set deleteOrphanChildren) {
19
		this.serverType = serverType;
17
		this.
20
	}
21
	public Address getAd
18
deleteOrphanChildren = deleteOrphanChildren;
19
	}
22
dress() {
20
	public Set getChildren() {
23
		return address;
21
		return 
24
	}
25

22
children;
23
	}
26
	public void setAddress(Address address) {
24
	public void setChildren(Set children) {
27
		this.address = address;
25
		this.children = children;
28
	
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