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 StateProvince { private Long id; private String name; private String isoCode; public Long getId() { return id; } public void setId(Long id) { this.id = id; } public String getName() { return name; } public void setName(String name) { this.name = name; } public String getIsoCode() { return isoCode; } public void setIsoCode(String isoCode) { this.isoCode = isoCode
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/hql/StateProvince.java
Method name: Method name:
Number of AST nodes: 0 Number of AST nodes: 0
1
public class AddressImpl implements Address {
1
public class StateProvince {
2
	private Long id;
2
	private Long id;
3
	private String addressType;
3
	private String name;
4
	private Server server;
4
	private S
5

5
tring isoCode;
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 getAddressType() {
12
	public String getName() {
15
		return addressType;
13
		return name;
16
	}
14
	}
17

18
	public void setAddressType(String addressType) {
15
	public void setName(String name) {
19
		this.addressType = addressType;
16
		this.name = name;
20
	}
17
	}
21

22
	public Server getServer() {
18
	public String getIsoCode() {
23
		return server;
19
		return 
24
	}
25

20
isoCode;
21
	}
26
	public void setServer(Server server) {
22
	public void setIsoCode(String isoCode) {
27
		this.server = server
23
		this.isoCode = isoCode
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