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
public class Group { private Long id; private List persons = new ArrayList(); private String name; public Group() { } public Group(String name) { this.name = name; } public Long getId() { return id; } public void setId(Long id) { this.id = id; } public List getPersons() { return persons; } public void setPersons(List persons) { this.persons = persons; } 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/deletetransient/Suite.java File path: /hibernate-distribution-3.3.2.GA/project/testsuite/src/test/java/org/hibernate/test/sql/hand/Group.java
Method name: Method name:
Number of AST nodes: 0 Number of AST nodes: 0
1
public class Suite {
1
public class Group {
2
	private Long id;
2
	private Long id;
3
	private String location;
3
	private 
4
	private Set notes = new HashSet();
5

4
List persons = new ArrayList();
5
	private String name;
6
	public Suite() {
6
	public Group() {
7
	}
7
	}
8

9
	public Suite(String location) {
8
	public Group(String name) {
10
		this.location = location;
9
		this.
11
	}
12

10
name = name;
11
	}
13
	public Long getId() {
12
	public Long getId() {
14
		return id;
13
		return id;
15
	}
14
	}
16

17
	public void setId(Long id) {
15
	public void setId(Long id) {
18
		this.id = id;
16
		this.id = id;
19
	}
17
	}
20

21
	public String getLocation() {
18
	public List getPersons() {
22
		return location;
19
		return 
23
	}
24

20
persons;
21
	}
25
	public void setLocation(String location) {
22
	public void setPersons(List persons) {
26
		this.location = location;
23
		this.persons = 
27
	}
28

24
persons;
25
	}
29
	public Set getNotes() {
26
	public String getName() {
30
		return notes;
27
		return n
31
	}
32

28
ame;
29
	}
33
	public void setNotes(Set notes) {
30
	public void setName(String name) {
34
		this.notes = notes
31
		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