public class Document extends Item { private Blob content; private Calendar modified; private Calendar created; /** * @return Returns the created. */ public Calendar getCreated() { return created; } /** * @param created The created to set. */ public void setCreated(Calendar created) { this.created = created; } /** * @return Returns the modified. */ public Calendar getModified() { return modified; } /** * @param modified The modified to set. */ public void setModified(Calendar modified) { this.modified = modified; } /** * @return Returns the content. */ public Blob getContent() { return content; } /** * @param content The content to set. */ public void setContent(Blob content) { this.content = content;
public class Continent { private Integer id; private String name; private Set countries; public Integer getId() { return id; } public void setId(Integer id) { this.id = id; } public String getName() { return name; } public void setName(String name) { this.name = name; } public Set getCountries() { return countries; } public void setCountries(Set countries) { this.countries = countries;
Clone fragments detected by clone detection tool
File path: /hibernate-distribution-3.3.2.GA/project/testsuite/src/test/java/org/hibernate/test/mixed/Document.java File path: /hibernate-distribution-3.3.2.GA/project/testsuite/src/test/java/org/hibernate/test/stats/Continent.java
Method name: Method name:
Number of AST nodes: 0 Number of AST nodes: 0
1
public class Document extends Item {
1
public class Continent {
2
	private Blob content;
2
	private Integer id;
3
	private Calendar modified;
3
	private 
4
	private Calendar created;
5
	/**
6
	 * @return Returns the created.
7
	 */
8
	public Calendar getCreate
4
String name;
5
	private Set countries;
9
d() {
6
	public Integer getId() {
10
		return created;
7
		return id;
11
	}
8
	}
12
	/**
9
	
13
	 * @param created The created to set.
14
	 */
15
	public void setCreated(Calendar created) {
10
public void setId(Integer id) {
16
		this.created = created;
11
		this.id = id;
17
	}
12
	}
18
	/**
13
	
19
	 * @return Returns the modified.
20
	 */
21
	public Calendar getModified() {
14
public String getName() {
22
		return modified;
15
		return 
23
	}
24
	/**
25
	 * @param modified The modified to set.
26
	 */
27
	public void setModified(Calendar modified
16
name;
17
	}
28
) {
18
	public void setName(String name) {
29
		this.modified = modified;
19
		this.
30
	}
31
	/**
32
	 * @return Returns the content.
33
	 */
20
name = name;
21
	}
34
	public Blob getContent() {
22
	public Set getCountries() {
35
		return content;
23
		return count
24
ries;
36
	}
25
	}
37
	/**
38
	 * @param content The content to set.
39
	 */
40
	public void setContent(Blob content) {
26
	public void setCountries(Set countries) {
41
		this.content = content;
27
		this.countries = countries;
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