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 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/deletetransient/Address.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 Address {
1
public class Suite {
2
	private Long id;
2
	private Long id;
3
	private String info;
3
	private String location;
4
	private Set suites = new HashSet();
4
	private Set notes = new HashSet();
5
	public Address() {
5
	public Suite() {
6
	}
6
	}
7
	public Address(String info) {
7
	public Suite(String location) {
8
		this.info = info;
8
		this.location = location;
9
	}
9
	}
10
	public Long getId() {
10
	public Long getId() {
11
		return id;
11
		return id;
12
	}
12
	}
13
	public void setId(Long id) {
13
	public void setId(Long id) {
14
		this.id = id;
14
		this.id = id;
15
	}
15
	}
16
	public String getInfo() {
16
	public String getLocation() {
17
		return info;
17
		return location;
18
	}
18
	}
19
	public void setInfo(String info) {
19
	public void set
20
		this.info = info
20
Location(String location) {
21
;
21
		this.location = location;
22
	}
22
	}
23
	public Set getSuites() {
23
	public Set getNotes() {
24
		return suites;
24
		return notes;
25
	}
25
	}
26
	public void setSuites(Set suites) {
26
	public void setNotes(Set notes) {
27
		this.suites = suites;
27
		this.notes = notes;
28
	
28
	
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