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 Account { private String accountId; private Person user; private char type; /** * @return Returns the user. */ public Person getUser() { return user; } /** * @param user The user to set. */ public void setUser(Person user) { this.user = user; } /** * @return Returns the accountId. */ public String getAccountId() { return accountId; } /** * @param accountId The accountId to set. */ public void setAccountId(String accountId) { this.accountId = accountId; } /** * @return Returns the type. */ public char getType() { return type; } /** * @param type The type to set. */ public void setType(char type) { this.type = type
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/propertyref/basic/Account.java
Method name: Method name:
Number of AST nodes: 0 Number of AST nodes: 0
1
public class Blobber {
1
public class Account {
2
	private int id;
2
	private String accountId;
3
	private Blob blob;
3
	private 
4
	private Clob clob;
4
Person user;
5
	private char type;
5
	/**
6
	/**
6
	 * Returns the blob.
7
	 * @return Returns the 
7
	 * @return Blob
8
user.
8
	 */
9
	 */
9
	public Blob getBlob() {
10
	public Person getUser() {
10
		return blob;
11
		return user;
11
	}
12
	}
13

12
	/**
14
	/**
13
	 * Returns the clob.
15
	 * 
14
	 * @return Clob
16
@param user The user to set.
15
	 */
17
	 */
16
	public Clob getClob() {
18
	public void setUser(Person user) {
17
		return clob;
19
		this.user = user;
18
	}
20
	}
21

19
	/**
22
	/**
20
	 * Returns the id.
23
	 * @return Returns the 
21
	 * @return int
24
accountId.
22
	 */
25
	 */
23
	public int getId() {
26
	public String getAccountId() {
24
		return id;
27
		return accountId;
25
	}
28
	}
29

26
	/**
30
	/**
27
	 * Sets the blob.
31

28
	 * @param blob The blob to set
32
	 * @param accountId The accountId to set.
29
	 */
33
	 */
30
	public void setBlob(Blob blob) {
34
	public void setAccountId(String accountId) {
31
		this.blob = blob;
35
		this.accountId = accountId;
32
	}
36
	}
37

33
	/**
38
	/**
34
	 * Sets the clob.
39
	 * 
35
	 * @param clob The clob to set
40
@return Returns the type.
36
	 */
41
	 */
37
	public void setClob(Clob clob) {
42
	public char getType() {
38
		this.clob = clob;
43
		return type;
39
	}
44
	}
45

40
	/**
46
	/**
41
	 * Sets the id.
47

42
	 * @param id The id to set
48
	 * @param type The type to set.
43
	 */
49
	 */
44
	public void setId(int id) {
50
	public void setType(char type) {
45
		this.id = id
51
		this.type = type
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