public class Account implements Serializable { private String accountId; private Person user; private char type; /** * @return Returns the user. */ public Person getUser() { return user; } /** * @param user The user to set. */ public void setUser(Person user) { this.user = user; } /** * @return Returns the accountId. */ public String getAccountId() { return accountId; } /** * @param accountId The accountId to set. */ public void setAccountId(String accountId) { this.accountId = accountId; } /** * @return Returns the type. */ public char getType() { return type; } /** * @param type The type to set. */ public void setType(char type) { this.type = type;
public class Being { private long id; private String identity; private String location; private String species; public void setLocation(String location) { this.location = location; } public String getLocation() { return location; } public void setSpecies(String species) { this.species = species; } public String getSpecies() { return species; } public void setIdentity(String identity) { this.identity = identity; } public String getIdentity() { return identity;
Clone fragments detected by clone detection tool
File path: /hibernate-distribution-3.3.2.GA/project/testsuite/src/test/java/org/hibernate/test/cuk/Account.java File path: /hibernate-distribution-3.3.2.GA/project/testsuite/src/test/java/org/hibernate/test/subselect/Being.java
Method name: Method name:
Number of AST nodes: 0 Number of AST nodes: 0
1
public class Account implements Serializable {
1
public class Being {
2
	private long id;
2
	private String accountId;
3
	private String identity;
3
	private Person user;
4
	private 
4
	private char type;
5
	/**
6
	 * @return Returns the user.
7
	 */
8
	public Person getUser() {
9
		return user;
10
	}
11
	/**
12
	 * @param user The user to set.
13
	 */
14
	public void setUser(Person user
5
String location;
6
	private String species;
7
	
8
	public void setLocation(String location) {
9
		this.location = location;
10
	}
11
	public String getLocation() {
12
		return location;
13
	}
15
) {
14
	public void setSpecies(String species) {
16
		this.user = user;
15
		this.
17
	}
18
	/**
19
	 * @return Returns the accountId.
20
	 */
16
species = species;
17
	}
21
	public String getAccountId() {
18
	public String getSpecies() {
22
		return accountId;
19
		return 
23
	}
24
	/**
25
	 * @param accountId The accountId to set.
26
	 */
20
species;
21
	}
27
	public void setAccountId(String accountId) {
22
	public void set
28
		this.accountId = accountId;
29
	}
30
	/**
31
	 * @return Returns the type.
32
	 */
33
	public char getType() {
34
		return type;
35
	}
36
	/**
37
	 * @param type The type to set.
38
	 */
39
	public void setType(char type) {
40
		this.type = type
23
Identity(String identity) {
24
		this.identity = identity;
25
	}
26
	public String getIdentity() {
41
;
27
		return identity;
42
	
28
	
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