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 Person { private Long id; private String name; private String personId; /** * @return Returns the id. */ public Long getId() { return id; } /** * @param id The id to set. */ public void setId(Long id) { this.id = id; } /** * @return Returns the name. */ public String getName() { return name; } /** * @param name The name to set. */ public void setName(String name) { this.name = name; } public String getPersonId() { return personId; } public void setPersonId(String personId) { this.personId = personId;
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/propertyref/inheritence/discrim/Person.java
Method name: Method name:
Number of AST nodes: 0 Number of AST nodes: 0
1
public class ServerImpl implements Server {
1
public class Person {
2
	private Long id;
2
	private Long id;
3
	private String serverType;
3
	private String name;
4
	private Address address;
4
	private 
5
String personId;
6
	/**
7
	 * @return Returns the id.
8
	 */
5
	public Long getId() {
9
	public Long getId() {
6
		return id;
10
		return id;
7
	}
11
	}
12
	/**
13
	 * @param id The id to set.
14
	 */
8
	public void setId(Long id) {
15
	public void setId(Long id) {
9
		this.id = id;
16
		this.id = id;
10
	}
17
	}
18
	/**
19
	 * @return Returns the name.
20
	 */
11
	public String getServerType() {
21
	public String getName() {
12
		return serverType;
22
		return 
13
	}
14
	public void setServerType(String serverType) {
15
		this.serverType = serverTyp
23
name;
24
	}
25
	/**
26
	 * @param name The name to set.
27
	 */
28
	public void setName(String name) {
16
e;
29
		this.name = name;
17
	}
30
	}
18
	public Address getAddress() {
31
	public String getPersonId() {
19
		return address;
32
		return personId;
20
	}
33
	}
34
	
21
	public void setAddress(Address address) {
35
	public void set
22
		this.address = address
36
PersonId(String personId) {
23
;
37
		this.personId = personId;
24
	
38
	
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