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 Transaction { private Long id; private String description; private MonetoryAmount value; public String getDescription() { return description; } public void setDescription(String description) { this.description = description; } public Long getId() { return id; } public void setId(Long id) { this.id = id; } public MonetoryAmount getValue() { return value; } public void setValue(MonetoryAmount value) { this.value = value
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/cut/Transaction.java
Method name: Method name:
Number of AST nodes: 0 Number of AST nodes: 0
1
public class Parent {
1
public class Transaction {
2
	private Long id;
2
	private Long id;
3
	private Set deleteOrphanChildren;
3
	private S
4
	private Set children
4
tring description;
5
;
5
	private MonetoryAmount value;
6
	
6
	public Long getId() {
7
	public String getDescription() {
7
		return id;
8
		return description;
8
	}
9
	}
10
	
9
	public void setId(Long id) {
11
	public void set
10
		this.id = id
12
Description(String description) {
11
;
13
		this.description = description;
12
	}
14
	}
15
	
13
	public Set getDeleteOrphanChildren() {
16
	public 
14
		return deleteOrphanChildren
17
Long getId() {
15
;
18
		return id;
16
	}
19
	}
20
	
17
	public void setDeleteOrphanChildren(Set deleteOrphanChildren) {
21
	public void set
18
		this.deleteOrphanChildren = deleteOrphanChildren
22
Id(Long id) {
19
;
23
		this.id = id;
20
	}
24
	}
25
	
21
	public Set getChildren() {
26
	public MonetoryAmount getValue() {
22
		return children;
27
		return value;
23
	}
28
	}
29
	
24
	public void setChildren(Set children) {
30
	public void set
25
		this.children = children
31
Value(MonetoryAmount value) {
32
		this.value = value
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