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 Transaction { private Long id; private String description; private MonetoryAmount value; public String getDescription() { return description; } public void setDescription(String description) { this.description = description; } public Long getId() { return id; } public void setId(Long id) { this.id = id; } public MonetoryAmount getValue() { return value; } public void setValue(MonetoryAmount value) { this.value = 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/cut/Transaction.java
Method name: Method name:
Number of AST nodes: 0 Number of AST nodes: 0
1
public class ServerImpl implements Server {
1
public class Transaction {
2
	private Long id;
2
	private Long id;
3
	private String serverType;
3
	private String 
4
	private Address address;
5

4
description;
5
	private MonetoryAmount value;
6
	
6
	public Long getId() {
7
	public String getDescription() {
7
		return id;
8
		return 
8
	}
9
	public void setId(Long id
9
description;
10
	}
11
	
10
) {
12
	public void setDescription(String description) {
11
		this.id = id;
13
		this.
12
	}
13

14
description = description;
15
	}
16
	
14
	public String getServerType() {
17
	public Long getId() {
15
		return serverType;
18
		return 
16
	}
17
	public void setServerType(String serverType
19
id;
20
	}
21
	
18
) {
22
	public void setId(Long id) {
19
		this.serverType = serverType;
23
		this.
20
	}
21
	public Address getAddress
24
id = id;
25
	}
26
	
22
() {
27
	public MonetoryAmount getValue() {
23
		return address;
28
		return 
24
	}
25

29
value;
30
	}
31
	
26
	public void setAddress(Address address) {
32
	public void setValue(MonetoryAmount value) {
27
		this.address = address
33
		this.value = 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