public class DocumentImpl extends ItemImpl implements Document { 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/interfaceproxy/DocumentImpl.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 DocumentImpl extends ItemImpl implements Document {
1
public class Speech {
2
	private Blob content;
2
	private 
3
	private Calendar modified;
4
	private Calendar created;
5
	/**
6
	 * @return Returns the created.
7
	 */
8
	public Calendar getCreate
3
Integer id;
4
	private String name;
5
	private Double length;
9
d() {
6
	public Integer getId() {
10
		return created;
7
		return id;
11
	}
8
	}
12
	/**
13
	 * @param created The created to set.
14
	 */
15
	public void setCreated(Calendar create
16
d) {
9
	public void setId(Integer id) {
17
		this.created = created;
10
		this.id = id;
18
	}
11
	}
19
	/**
20
	 * @return Returns the modified.
21
	 */
22
	public Calendar getModified
23
() {
12
	public Double getLength() {
24
		return modified;
13
		return 
25
	}
26
	/**
27
	 * @param modified The modified to set.
28
	 */
29
	public void setModified(Calendar modified
14
length;
15
	}
30
) {
16
	public void setLength(Double length) {
31
		this.modified = modified;
17
		this.
32
	}
33
	/**
34
	 * @return Returns the content.
35
	 */
36
	public Blob getContent
18
length = length;
19
	}
37
() {
20
	public String getName() {
38
		return content;
21
		return 
39
	}
40
	/**
41
	 * @param content The content to set.
42
	 */
43
	public void setContent(Blob content
22
name;
23
	}
44
) {
24
	public void setName(String name) {
45
		this.content = content
25
		this.name = name
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