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 StringPropertyValue implements PropertyValue { private Long id; private String value; public StringPropertyValue() { } public StringPropertyValue(String value) { this.value = value; } public Long getId() { return id; } public void setId(Long id) { this.id = id; } public String getValue() { return value; } public void setValue(String value) { this.value = value; } public String asString() { return value
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/any/StringPropertyValue.java
Method name: Method name:
Number of AST nodes: 0 Number of AST nodes: 0
1
public class AddressImpl implements Address {
1
public class 
2
	private Long id;
3
	private String addressType;
4
	private Server server;
2
StringPropertyValue implements PropertyValue {
3
	private Long id;
4
	private String value;
5
	public StringPropertyValue() {
6
	}
7
	public StringPropertyValue(String value) {
8
		this.value = value;
9
	}
5
	public Long getId() {
10
	public Long getId() {
6
		return id;
11
		return id;
7
	}
12
	}
8
	public void setId(Long id) {
13
	public void setId(Long id) {
9
		this.id = id;
14
		this.id = id;
10
	}
15
	}
11
	public String getAddressType() {
16
	public String getValue() {
12
		return addressType;
17
		return value;
13
	}
18
	}
14
	public void setAddressType(String addressType) {
19
	public void setValue(String value) {
15
		this.addressType = addressType;
20
		this.value = value;
16
	}
21
	}
17
	public Server getServer() {
22
	public S
18
		return server;
19
	}
20
	public void setServer(Server server) {
21
		this.server = server
23
tring asString() {
24
		return value
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