public class AddressImpl implements Address { private Long id; private String addressType; private Server server; public Long getId() { return id; } public void setId(Long id) { this.id = id; } public String getAddressType() { return addressType; } public void setAddressType(String addressType) { this.addressType = addressType; } public Server getServer() { return server; } public void setServer(Server server) { this.server = server
public class ComponentCollection implements Serializable { private String str; private List foos; private List floats; public List getFoos() { return foos; } public String getStr() { return str; } public void setFoos(List list) { foos = list; } public void setStr(String string) { str = string; } public List getFloats() { return floats; } public void setFloats(List list) { floats = list
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/AddressImpl.java File path: /hibernate-distribution-3.3.2.GA/project/testsuite/src/test/java/org/hibernate/test/legacy/ComponentCollection.java
Method name: Method name:
Number of AST nodes: 0 Number of AST nodes: 0
1
public class AddressImpl implements Address {
1
public class ComponentCollection implements Serializable {
2
	private Long id;
2
	private 
3
	private String addressType;
4
	private Server server;
5

3
String str;
4
	private List foos;
5
	private List floats;
6
	public Long getId() {
6
	public List getFoos() {
7
		return id;
7
		return 
8
	}
9
	public void setId(Long id
8
foos;
9
	}
10
) {
10
	public String getStr() {
11
		this.id = id;
11
		
12
	}
13
	public String getAddressType(
12
return str;
13
	}
14
) {
14
	public void setFoos(List list) {
15
		return addressType;
15
		
16
	}
17

16
foos = list;
17
	}
18
	public void setAddressType(String addressType) {
18
	public void setStr(String string) {
19
		this.addressType = addressType;
19
		
20
	}
21
	public Server getServer
20
str = string;
21
	}
22
() {
22
	public List getFloats() {
23
		return server;
23
		return 
24
	}
25

24
floats;
25
	}
26
	public void setServer(Server server) {
26
	public void setFloats(List list) {
27
		this.server = server
27
		floats = list
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