public class Address { private Long id; private String info; private Set suites = new HashSet(); public Address() { } public Address(String info) { this.info = info; } public Long getId() { return id; } public void setId(Long id) { this.id = id; } public String getInfo() { return info; } public void setInfo(String info) { this.info = info; } public Set getSuites() { return suites; } public void setSuites(Set suites) { this.suites = suites;
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/Address.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 Address {
1
public class Group {
2
	private Long id;
2
	private Long id;
3
	private String info;
3
	private 
4
	private Set suites = new HashSet();
5

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

9
	public Address(String info) {
8
	public Group(String name) {
10
		this.info = info;
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 getInfo() {
18
	public List getPersons() {
22
		return info;
19
		return 
23
	}
24

20
persons;
21
	}
25
	public void setInfo(String info) {
22
	public void setPersons(List persons) {
26
		this.info = info;
23
		this.
27
	}
28
	public Set getSuites
24
persons = persons;
25
	}
29
() {
26
	public String getName() {
30
		return suites;
27
		return 
31
	}
32

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