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 Being { private long id; private String identity; private String location; private String species; public void setLocation(String location) { this.location = location; } public String getLocation() { return location; } public void setSpecies(String species) { this.species = species; } public String getSpecies() { return species; } public void setIdentity(String identity) { this.identity = identity; } public String getIdentity() { return identity;
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/subselect/Being.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 Being {
2
	private Blob content;
2
	private lo
3
	private Calendar modified;
4
	private Calendar created;
5
	/**
6
	 * @return Returns the created.
7
	 */
8
	public Calendar getCreated() {
9
		return created;
10
	}
11
	/**
12
	 * @param created The created to set.
13
	 */
14
	public void setCreated(Calendar created
3
ng id;
4
	private String identity;
5
	private String location;
6
	private String species;
7
	
15
) {
8
	public void setLocation(String location) {
16
		this.created = created;
9
		this.
17
	}
18
	/**
19
	 * @return Returns the modified.
20
	 */
21
	public Calendar getModified() {
22
		return modified;
23
	}
24
	/**
25
	 * @param modified The modified to set.
26
	 */
10
location = location;
11
	}
12
	public String getLocation() {
13
		return location;
14
	}
27
	public void setModified(Calendar modified) {
15
	public void setSpecies(String species) {
28
		this.modified = modified;
16
		this.species = species;
29
	}
17
	}
30
	/**
18
	
31
	 * @return Returns the content.
32
	 */
33
	public Blob getContent() {
34
		return content;
35
	}
36
	/**
37
	 * @param content The content to set.
38
	 */
39
	public void setContent(Blob content) {
40
		this.content = content
19
public String getSpecies() {
20
		return species;
21
	}
22
	public void setIdentity(String identity) {
23
		this.identity = identity;
24
	}
25
	public String getIdentity() {
41
;
26
		return identity;
42
	
27
	
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