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 A { private Long id; private String name; private E forward; /** * Returns the id. * @return Long */ public Long getId() { return id; } /** * Returns the name. * @return String */ public String getName() { return name; } /** * Sets the id. * @param id The id to set */ public void setId(Long id) { this.id = id; } /** * Sets the name. * @param name The name to set */ public void setName(String name) { this.name = name; } public E getForward() { return forward; } public void setForward(E e) { forward = e
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/legacy/A.java
Method name: Method name:
Number of AST nodes: 0 Number of AST nodes: 0
1
public class Account implements Serializable {
1
public class A
2
	private String accountI
2
 {
3
d;
3
	private Long id;
4
	private Person user;
4
	private 
5
	private char type;
5
String name;
6
	private E forward;
7
	
6
	/**
8
	/**
7
	 * @return Returns the user.
9
	 * Returns the id.
10
	 * @return Long
8
	 */
11
	 */
9
	public Person getUser() {
12
	public Long getId() {
10
		return user;
13
		return id;
11
	}
14
	}
12
	
15
	
13
/**
16
	/**
14
	 * @param user The user to set.
17
	 * 
15
	 */
16
	public void setUser(Person user) {
17
		this.user = user;
18
	}
19
	/**
20
	 * @return Returns the accountId.
18
Returns the name.
19
	 * @return String
21
	 */
20
	 */
22
	public String getAccountId() {
21
	public String getName() {
23
		return accountId;
22
		return name;
24
	}
23
	}
25
	
24
	
26
/**
25
	/**
27
	 * @param accountId The accountI
26
	 * Sets the id.
28
d to set.
27
	 * @param id The id to set
29
	 */
28
	 */
30
	public void setAccountId(String accountId) {
29
	public void set
31
		this.accountId = accountI
30
Id(Long id) {
32
d;
31
		this.id = id;
33
	}
32
	}
34
	
33
	
35
/**
34
	/**
36
	 * @return Returns the type.
35
	 * 
37
	 */
38
	public char getType() {
39
		return type;
40
	}
41
	/**
42
	 * @param type The type to set.
43
	 */
44
	public void setType(char type) {
45
		this.type = typ
36
Sets the name.
37
	 * @param name The name to set
38
	 */
39
	public void setName(String name) {
40
		this.name = name;
41
	}
42
	
43
	public E getForward() {
44
		return forward;
45
	}
46
	public void setForward(E e) {
46
e
47
		forward = e
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