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 name;
23
	}
16
	}
24
	/**
17
	
25
	 * @param modified The modified to set.
26
	 */
27
	public void setModified(Calendar modified) {
18
public void setName(String name) {
28
		this.modified = modified;
19
		this.
29
	}
30
	/**
31
	 * @return Returns the content.
32
	 */
20
name = name;
21
	}
33
	public Blob getContent() {
22
	public Set getCountries() {
34
		return content;
23
		return countries;
35
	}
24
	}
36
	/**
37
	 * @param content The content to set.
38
	 */
39
	public void setContent(Blob content) {
25
	public void setCountries(Set countries) {
40
		this.content = content
26
		this.countries = countries
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