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 Immutable { private String foo; private String bar; private String id; public String getFoo() { return foo; } public void setFoo(String foo) { this.foo = foo; } public String getBar() { return bar; } public void setBar(String bar) { this.bar = bar; } public String getId() { return id; } public void setId(String id) { this.id = id
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/legacy/Immutable.java
Method name: Method name:
Number of AST nodes: 0 Number of AST nodes: 0
1
public class Parent {
1
public class Immutable {
2
	private Long id;
2
	private String foo;
3
	private Set deleteOrphanChildren;
3
	private String bar;
4
	private Set children;
4
	private String id;
5
	
5
	public Long getId() {
6
	public String getFoo() {
6
		return id;
7
		return foo;
7
	}
8
	}
9
	
8
	public void setId(Long id) {
10
	public void setFoo(String foo) {
9
		this.id = id;
11
		this.foo = foo;
10
	}
12
	}
13
	
11
	public Set getDeleteOrphanChildren() {
14
	public S
12
		return deleteOrphanChildren
15
tring getBar() {
13
;
16
		return bar;
14
	}
17
	}
18
	
15
	public void setDeleteOrphanChildren(Set deleteOrphanChildren) {
19
	public void set
16
		this.deleteOrphanChildren = deleteOrphanChildren
20
Bar(String bar) {
17
;
21
		this.bar = bar;
18
	}
22
	}
23
	
19
	public Set getChildren() {
24
	public String getId() {
20
		return children;
25
		return id;
21
	}
26
	}
27
	
22
	public void setChildren(Set children) {
28
	public void setId(String id) {
23
		this.children = children
29
		this.id = id
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