public class ParentInfo { private Long id; private Parent owner; private String info; public ParentInfo() { } public ParentInfo(String info) { this.info = info; } public Long getId() { return id; } public Parent getOwner() { return owner; } public void setOwner(Parent owner) { this.owner = owner; } public String getInfo() { return info; } public void setInfo(String info) { this.info = info;
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;
Clone fragments detected by clone detection tool
File path: /hibernate-distribution-3.3.2.GA/project/testsuite/src/test/java/org/hibernate/test/jpa/cascade/ParentInfo.java File path: /hibernate-distribution-3.3.2.GA/project/testsuite/src/test/java/org/hibernate/test/mixed/Document.java
Method name: Method name:
Number of AST nodes: 0 Number of AST nodes: 0
1
public class ParentInfo {
1
public class Document extends Item {
2
	private Long id;
2
	private 
3
	private Parent owner;
4
	private String info;
5
	public ParentInfo() {
6
	}
7
	public ParentInfo(String info
3
Blob content;
4
	private Calendar modified;
5
	private Calendar created;
6
	/**
7
	 * @return Returns the created.
8
	 */
9
	public Calendar getCreated() {
10
		return created;
11
	}
12
	/**
13
	 * @param created The created to set.
14
	 */
8
) {
15
	public void setCreated(Calendar created) {
9
		this.info = info;
16
		this.
10
	}
11
	public Long getId() {
12
		return id;
13
	}
14
	public Parent getOwner
17
created = created;
18
	}
19
	/**
20
	 * @return Returns the modified.
21
	 */
15
() {
22
	public Calendar getModified() {
16
		return owner;
23
		return 
17
	}
18
	public void setOwner(Parent owner
24
modified;
25
	}
26
	/**
27
	 * @param modified The modified to set.
28
	 */
19
) {
29
	public void setModified(Calendar modified) {
20
		this.owner = owner;
30
		this.
21
	}
22
	public String getInfo
31
modified = modified;
32
	}
33
	/**
34
	 * @return Returns the content.
35
	 */
23
() {
36
	public Blob getContent() {
24
		return info;
37
		return 
25
	}
26
	public void setInfo(String info
38
content;
39
	}
40
	/**
41
	 * @param content The content to set.
42
	 */
27
) {
43
	public void setContent(Blob content) {
28
		this.info = info;
44
		this.
29
	
45
content = content;
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