public class DeleteOrphanChild { private Long id; private Parent parent; public Long getId() { return id; } public void setId(Long id) { this.id = id; } public Parent getParent() { return parent; } public void setParent(Parent parent) { this.parent = parent;
public class EntityWithCrazyCompositeKey { private CrazyCompositeKey id; private String name; public CrazyCompositeKey getId() { return id; } public void setId(CrazyCompositeKey id) { this.id = id; } public String getName() { return name; } public void setName(String name) { this.name = name;
Clone fragments detected by clone detection tool
File path: /hibernate-distribution-3.3.2.GA/project/testsuite/src/test/java/org/hibernate/test/cascade/DeleteOrphanChild.java File path: /hibernate-distribution-3.3.2.GA/project/testsuite/src/test/java/org/hibernate/test/hql/EntityWithCrazyCompositeKey.java
Method name: Method name:
Number of AST nodes: 0 Number of AST nodes: 0
1
public class DeleteOrphanChild {
1
public class 
2
	private Long
2
EntityWithCrazyCompositeKey {
3
 id;
3
	private CrazyCompositeKey id;
4
	private Parent parent;
4
	private 
5
	public Long
5
String name;
6
 getId() {
6
	public CrazyCompositeKey getId() {
7
		return id;
7
		return id;
8
	}
8
	}
9
	public void setId(Long id) {
9
	public void setId(CrazyCompositeKey id) {
10
		this.id = id;
10
		this.id = id;
11
	}
11
	}
12
	public Parent getParent() {
12
	public String getName() {
13
		return parent;
13
		return name;
14
	}
14
	}
15
	public void setParent(Parent parent) {
15
	public void setName(String name) {
16
		this.parent = parent;
16
		this.name = name;
17
	
17
	
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