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 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/mixed/Document.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 Document extends Item {
1
public class Being {
2
	private Blob content;
2
	private 
3
	private Calendar modified;
3
long id;
4
	private Calendar created;
4
	private 
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
5
String identity;
6
	private String location;
7
	private String species;
8
	
15
) {
9
	public void setLocation(String location) {
16
		this.created = created;
10
		this.
17
	}
18
	/**
19
	 * @return Returns the modified.
20
	 */
11
location = location;
12
	}
21
	public Calendar getModified() {
13
	public String getLocation() {
22
		return modified;
14
		return 
23
	}
24
	/**
25
	 * @param modified The modified to set.
26
	 */
15
location;
16
	}
27
	public void setModified(Calendar modified) {
17
	public void setSpecies(String species) {
28
		this.modified = modified;
18
		this.species = 
19
species;
29
	}
20
	}
30
	/**
21
	
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
22
public String getSpecies() {
23
		return species;
24
	}
25
	public void setIdentity(String identity) {
26
		this.identity = identity;
27
	}
40
) {
28
	public String getIdentity() {
41
		this.content = content
29
		return identity
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