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 OptionalComponent { private String value1; private String value2; public String getValue1() { return value1; } public void setValue1(String value1) { this.value1 = value1; } public String getValue2() { return value2; } public void setValue2(String value2) { this.value2 = value2
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/component/basic/OptionalComponent.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 id;
3
	private Parent parent
2
OptionalComponent {
3
	private String value1;
4
;
4
	private String value2;
5
	public Long getId() {
5
	public String getValue1() {
6
		return id;
6
		return value1;
7
	}
7
	}
8
	public void setId(Long id) {
8
	public void set
9
		this.id = id
9
Value1(String value1) {
10
;
10
		this.value1 = value1;
11
	}
11
	}
12
	public Parent getParent() {
12
	public String getValue2() {
13
		return parent;
13
		return value2;
14
	}
14
	}
15
	public void setParent(Parent parent) {
15
	public void setValue2(String value2) {
16
		this.parent = parent
16
		this.value2 = value2
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