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 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/ServerImpl.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 ServerImpl implements Server {
1
public class StringPropertyValue implements PropertyValue {
2
	private Long id;
2
	private Long id;
3
	private String serverType;
3
	private String 
4
	private Address address;
4
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 getServerType() {
16
	public String getValue() {
12
		return serverType;
17
		return value;
13
	}
18
	}
14
	public void setServerType(String serverType) {
19
	public void setValue(String value) {
15
		this.serverType = serverType;
20
		this.
16
	}
17
	public Address getAddress() {
18
		return address;
19
	}
20
	public void setAddress(Address address) {
21
		this.address = address
21
value = value;
22
	}
23
	public String asString() {
22
;
24
		return value;
23
	
25
	
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