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
public class OtherAssigned { private Long id; private ParentAssigned owner; public OtherAssigned() { } public OtherAssigned(Long id) { this.id = id; } public Long getId() { return id; } public ParentAssigned getOwner() { return owner; } public void setOwner(ParentAssigned owner) { this.owner = owner
Clone fragments detected by clone detection tool
File path: /hibernate-distribution-3.3.2.GA/project/testsuite/src/test/java/org/hibernate/test/interfaceproxy/ItemImpl.java File path: /hibernate-distribution-3.3.2.GA/project/testsuite/src/test/java/org/hibernate/test/jpa/cascade/OtherAssigned.java
Method name: Method name:
Number of AST nodes: 0 Number of AST nodes: 0
1
public abstract class ItemImpl implements Item {
1
public class OtherAssigned {
2
	private Long id;
2
	private Long id;
3
	private String name;
3
	private 
4
	/**
5
	 * @return Returns the id.
6
	 */
7
	public Long getId() {
8
		return id;
9
	}
10
	/**
11
	 * @param id The id to set.
12
	 */
13
	public void setI
4
ParentAssigned owner;
5
	public OtherAssigned() {
6
	}
14
d(Long id) {
7
	public OtherAssigned(Long id) {
15
		this.id = id;
8
		this.id = id;
16
	}
9
	}
17
	/**
18
	 * @return Returns the name.
19
	 */
20
	public String getName
10
	public Long getId() {
11
		return id;
12
	}
21
() {
13
	public ParentAssigned getOwner() {
22
		return name;
14
		return 
23
	}
24
	/**
25
	 * @param name The name to set.
26
	 */
27
	public void setName(String name
15
owner;
16
	}
28
) {
17
	public void setOwner(ParentAssigned owner) {
29
		this.name = name
18
		this.owner = owner
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