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 abstract class ItemImpl implements Item { private Long id; private String name; /** * @return Returns the id. */ public Long getId() { return id; } /** * @param id The id to set. */ public void setId(Long id) { this.id = id; } /** * @return Returns the name. */ public String getName() { return name; } /** * @param name The name to set. */ 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/interfaceproxy/ItemImpl.java
Method name: Method name:
Number of AST nodes: 0 Number of AST nodes: 0
1
public class DeleteOrphanChild {
1
public 
2
	private Long id;
3
	private Parent parent;
2
abstract class ItemImpl implements Item {
3
	private Long id;
4
	private String name;
5
	/**
6
	 * @return Returns the id.
7
	 */
4
	public Long getId() {
8
	public Long getId() {
5
		return id;
9
		return id;
6
	}
10
	}
11
	/**
12
	 * @param id The id to set.
13
	 */
7
	public void setId(Long id) {
14
	public void setId(Long id) {
8
		this.id = id;
15
		this.id = id;
9
	}
16
	}
17
	/**
18
	 * @return Returns the name.
19
	 */
10
	public Parent getParent() {
20
	public 
11
		return parent;
12
	}
13
	public void setParent(Parent parent
21
String getName() {
22
		return name;
23
	}
24
	/**
25
	 * @param name The name to set.
26
	 */
14
) {
27
	public void setName(String name) {
15
		this.parent = parent
28
		this.name = name
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