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