public class Document { private String text; private String name; private Date lastModified; Document() {} public Document(String text, String name) { this.text = text; this.name = name; } public String getName() { return name; } public void setName(String name) { this.name = name; } public String getText() { return text; } public void setText(String text) { this.text = text; } public Date getLastModified() { return lastModified; } void setLastModified(Date lastModified) { this.lastModified = lastModified;
public class Locality { private Long id; private String name; private Country country; public Locality() { } public Locality(String name, Country country) { this.name = name; this.country = country; } public Long getId() { return id; } public void setId(Long id) { this.id = id; } public String getName() { return name; } public void setName(String name) { this.name = name; } public Country getCountry() { return country; } public void setCountry(Country country) { this.country = country;
Clone fragments detected by clone detection tool
File path: /hibernate-distribution-3.3.2.GA/project/testsuite/src/test/java/org/hibernate/test/stateless/Document.java File path: /hibernate-distribution-3.3.2.GA/project/testsuite/src/test/java/org/hibernate/test/stats/Locality.java
Method name: Method name:
Number of AST nodes: 0 Number of AST nodes: 0
1
public class Document {
1
public class Locality {
2
	
2
	
3
	private String text;
3
private Long id;
4
	private String name;
4
	private String name;
5
	private Date lastModified;
5
	private 
6
	Document
6
Country country;
7
() {}
7
	public Locality() {
8
	
8
	}
9
	public Document(String text, String name) {
9
	public Locality(String 
10
		this.text = text;
11
		this.name = name
10
name, Country country) {
11
		this.name = name;
12
;
12
		this.country = country;
13
	}
13
	}
14
	public String getName() {
14
	public Long getId() {
15
		return name;
15
		return id;
16
	}
16
	}
17
	public void setName(String name) {
17
	public void set
18
		this.name = name
18
Id(Long id) {
19
;
19
		this.id = id;
20
	}
20
	}
21
	public String getText() {
21
	public String getName() {
22
		return text;
22
		return name;
23
	}
23
	}
24
	public void setText(String text) {
24
	public void setName(String name) {
25
		this.text = text;
25
		this.name = name;
26
	}
26
	}
27
	public Date getLastModified() {
27
	public 
28
		return lastModified;
29
	}
30
	void setLastModified(Date lastModified) {
31
		this.lastModified = lastModified
28
Country getCountry() {
29
		return country;
30
	}
31
	public void setCountry(Country country) {
32
;
32
		this.country = country;
33
	
33
	
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