public class Blobber { private int id; private Blob blob; private Clob clob; /** * Returns the blob. * @return Blob */ public Blob getBlob() { return blob; } /** * Returns the clob. * @return Clob */ public Clob getClob() { return clob; } /** * Returns the id. * @return int */ public int getId() { return id; } /** * Sets the blob. * @param blob The blob to set */ public void setBlob(Blob blob) { this.blob = blob; } /** * Sets the clob. * @param clob The clob to set */ public void setClob(Clob clob) { this.clob = clob; } /** * Sets the id. * @param id The id to set */ public void setId(int id) { this.id = id
public class Thing { private long id; private String description; private Being owner; /** * @return Returns the description. */ public String getDescription() { return description; } /** * @param description The description to set. */ public void setDescription(String description) { this.description = description; } /** * @return Returns the id. */ public long getId() { return id; } /** * @param id The id to set. */ public void setId(long id) { this.id = id; } /** * @return Returns the owner. */ public Being getOwner() { return owner; } /** * @param owner The owner to set. */ public void setOwner(Being owner) { this.owner = owner
Clone fragments detected by clone detection tool
File path: /hibernate-distribution-3.3.2.GA/project/testsuite/src/test/java/org/hibernate/test/legacy/Blobber.java File path: /hibernate-distribution-3.3.2.GA/project/testsuite/src/test/java/org/hibernate/test/unionsubclass/Thing.java
Method name: Method name:
Number of AST nodes: 0 Number of AST nodes: 0
1
public class Blobber {
1
public class Thing {
2
	private int id;
2
	private long id;
3
	private Blob blob;
3
	private 
4
	private Clob clob
4
String description;
5
;
5
	private Being owner;
6
	/**
6
	/**
7
	 * Returns the blob.
7
	 * @return Returns the 
8
	 * @return Blob
9
	 */
10
	public Blob getBlob
8
description.
9
	 */
11
() {
10
	public String getDescription() {
12
		return blob;
11
		return description;
13
	}
12
	}
14
	/**
13
	/**
15
	 * Returns the clob.
14
	 * 
16
	 * @return Clob
17
	 */
18
	public Clob getClob() {
19
		return clob
15
@param description The description to set.
16
	 */
17
	public void setDescription(String description) {
20
;
18
		this.description = description;
21
	}
19
	}
22
	/**
20
	/**
23
	 * Returns the id.
21
	 * @return Returns the id.
24
	 * @return int
22
	
25
	 */
23
 */
26
	public int getId() {
24
	public long getId() {
27
		return id;
25
		return id;
28
	}
26
	}
29
	/**
27
	/**
30
	 * Sets the blob.
28
	
31
	 * @param blob The blob to set
29
 * @param id The id to set.
32
	 */
30
	 */
33
	public void setBlob(Blob blob) {
31
	public void set
34
		this.blob = blob
32
Id(long id) {
35
;
33
		this.id = id;
36
	}
34
	}
37
	/**
35
	/**
38
	 * Sets the clob.
36
	 * 
39
	 * @param clob The clob to set
40
	 */
41
	public void setClob(Clob clob) {
42
		this.clob = clob
37
@return Returns the owner.
38
	 */
39
	public Being getOwner() {
43
;
40
		return owner;
44
	}
41
	}
45
	/**
42
	/**
46
	 * Sets the id.
43
	 * 
47
	 * @param id The id to set
44
@param owner The owner to set.
48
	 */
45
	 */
49
	public void setId(int id) {
46
	public void set
50
		this.id = id
47
Owner(Being owner) {
48
		this.owner = owner
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