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 Employee extends Person { private String title; private BigDecimal salary; private Employee manager; /** * @return Returns the title. */ public String getTitle() { return title; } /** * @param title The title to set. */ public void setTitle(String title) { this.title = title; } /** * @return Returns the manager. */ public Employee getManager() { return manager; } /** * @param manager The manager to set. */ public void setManager(Employee manager) { this.manager = manager; } /** * @return Returns the salary. */ public BigDecimal getSalary() { return salary; } /** * @param salary The salary to set. */ public void setSalary(BigDecimal salary) { this.salary = salary;
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/unionsubclass2/Employee.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 
2
	private Blob content;
3
	private Calendar modified;
4
	private Calendar created
2
Employee extends Person {
3
	private String title;
4
	private BigDecimal salary;
5
;
5
	private Employee manager;
6
	/**
6
	/**
7
	 * @return Returns the created.
7
	 * @return Returns the title.
8
	 */
8
	 */
9
	public Calendar getCreated() {
9
	public String getTitle() {
10
		return created;
10
		return title;
11
	}
11
	}
12
	/**
12
	/**
13
	 * @param created The created to set.
13
	 * @param title The title to set.
14
	 */
14
	 */
15
	public void setCreated(Calendar created) {
15
	public void set
16
		this.created = created
16
Title(String title) {
17
;
17
		this.title = title;
18
	}
18
	}
19
	/**
19
	/**
20
	 * @return Returns the modified.
20
	 * @return Returns the manager.
21
	 */
21
	 */
22
	public Calendar getModified() {
22
	public Employee getManager() {
23
		return modified;
23
		return manager;
24
	}
24
	}
25
	/**
25
	/**
26
	 * @param modified The modified to set.
26
	 * @param manager The manager to set.
27
	 */
27
	 */
28
	public void setModified(Calendar modified) {
28
	public void setM
29
		this.modified = modified
29
anager(Employee manager) {
30
;
30
		this.manager = manager;
31
	}
31
	}
32
	/**
32
	/**
33
	 * @return Returns the content.
33
	 * @return Returns the salary.
34
	 */
34
	 */
35
	public Blob getContent() {
35
	public BigDecimal getSalary() {
36
		return content;
36
		return salary;
37
	}
37
	}
38
	/**
38
	/**
39
	 * @param content The content to set.
39
	 * @param salary The salary to set.
40
	 */
40
	 */
41
	public void setContent(Blob content) {
41
	public void set
42
		this.content = content
42
Salary(BigDecimal salary) {
43
;
43
		this.salary = salary;
44
	
44
	
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