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 Joiner { private Long id; private String name; private String joinedName; 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 getJoinedName() { return joinedName; } public void setJoinedName(String joinedName) { this.joinedName = joinedName
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/hql/Joiner.java
Method name: Method name:
Number of AST nodes: 0 Number of AST nodes: 0
1
public class ServerImpl implements Server {
1
public class Joiner {
2
	private Long id;
2
	private Long id;
3
	private String serverType;
3
	private String name;
4
	private Address address;
4
	private 
5

5
String joinedName;
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 getServerType() {
12
	public String getName() {
15
		return serverType;
13
		return name;
16
	}
14
	}
17

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

22
	public Address getAddress() {
18
	public String getJoinedName() {
23
		return address;
19
		return 
24
	}
25

20
joinedName;
21
	}
26
	public void setAddress(Address address) {
22
	public void setJoinedName(String joinedName) {
27
		this.address = address
23
		this.joinedName = joinedName
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