public class ListOwner { private String name; private ListOwner parent; private List children = new ArrayList(); public ListOwner() { } public ListOwner(String name) { this.name = name; } public String getName() { return name; } public void setName(String name) { this.name = name; } public ListOwner getParent() { return parent; } public void setParent(ListOwner parent) { this.parent = parent; } public List getChildren() { return children; } public void setChildren(List children) { this.children = children
public class Suite { private Long id; private String location; private Set notes = new HashSet(); public Suite() { } public Suite(String location) { this.location = location; } public Long getId() { return id; } public void setId(Long id) { this.id = id; } public String getLocation() { return location; } public void setLocation(String location) { this.location = location; } public Set getNotes() { return notes; } public void setNotes(Set notes) { this.notes = notes
Clone fragments detected by clone detection tool
File path: /hibernate-distribution-3.3.2.GA/project/testsuite/src/test/java/org/hibernate/test/collection/list/ListOwner.java File path: /hibernate-distribution-3.3.2.GA/project/testsuite/src/test/java/org/hibernate/test/deletetransient/Suite.java
Method name: Method name:
Number of AST nodes: 0 Number of AST nodes: 0
1
public class ListOwner {
1
public class Suite {
2
	private String name;
2
	private Long id;
3
	private ListOwner parent;
3
	private 
4
	private List children = new ArrayLis
4
String location;
5
t();
5
	private Set notes = new HashSet();
6
	public ListOwner() {
6
	public Suite() {
7
	}
7
	}
8
	public ListOwner(String name) {
8
	public 
9
		this.name = name
9
Suite(String location) {
10
;
10
		this.location = location;
11
	}
11
	}
12
	public String getName() {
12
	public Long getId() {
13
		return name;
13
		return id;
14
	}
14
	}
15
	public void setName(String name) {
15
	public void setId(Long id) {
16
		this.name = name;
16
		this.id = id;
17
	}
17
	}
18
	public ListOwner getParent() {
18
	public String getLocation() {
19
		return parent;
19
		return location;
20
	}
20
	}
21
	public void setParent(ListOwner parent) {
21
	public void set
22
		this.parent = parent
22
Location(String location) {
23
;
23
		this.location = location;
24
	}
24
	}
25
	public List getChildren() {
25
	public Set getNotes() {
26
		return children;
26
		return notes;
27
	}
27
	}
28
	public void setChildren(List children) {
28
	public void set
29
		this.children = children
29
Notes(Set notes) {
30
		this.notes = notes
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