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 Speech { private Integer id; private String name; private Double length; public Integer getId() { return id; } public void setId(Integer id) { this.id = id; } public Double getLength() { return length; } public void setLength(Double length) { this.length = length; } 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/mixed/Document.java File path: /hibernate-distribution-3.3.2.GA/project/testsuite/src/test/java/org/hibernate/test/sql/hand/Speech.java
Method name: Method name:
Number of AST nodes: 0 Number of AST nodes: 0
1
public class Document extends Item {
1
public class Speech {
2

2
	private Blob content;
3
	private 
3
	private Calendar modified;
4
	private Calendar created;
5
	/**
6
	 * @return Returns the created.
7
	 */
8
	public Calendar getCreate
4
Integer id;
5
	private String name;
6
	private Double length;
9
d() {
7
	public Integer getId() {
8

10
		return created;
9
		return id;
10

11
	}
11
	}
12
	/**
13
	 * @param created The created to set.
14
	 */
15
	public void setCreated(Calendar create
16
d) {
12
	public void setId(Integer id) {
13

17
		this.created = created;
14
		this.id = id;
15

18
	}
16
	}
19
	/**
20
	 * @return Returns the modified.
21
	 */
22
	public Calendar getModified
23
() {
17
	public Double getLength() {
18

24
		return modified;
19
		return 
25
	}
26
	/**
27
	 * @param modified The modified to set.
28
	 */
29
	public void setModified(Calendar modified
20
length;
21
	}
30
) {
22
	public void setLength(Double length) {
23

31
		this.modified = modified;
24
		this.
32
	}
33
	/**
34
	 * @return Returns the content.
35
	 */
36
	public Blob getContent
25
length = length;
26
	}
37
() {
27
	public String getName() {
28

38
		return content;
29
		return 
39
	}
40
	/**
41
	 * @param content The content to set.
42
	 */
43
	public void setContent(Blob content
30
name;
31
	}
44
) {
32
	public void setName(String name) {
33

45
		this.content = content;
34
		this.
35
name = name;
36
	
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