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 Item {
private long id;
private String name;
private String description;
public String getDescription() {
return description;
}
public void setDescription(String description) {
this.description = description;
}
public long getId() {
return id;
}
public void setId(long id) {
this.id = id;
}
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
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/querycache/Item.java
|
Method name:
|
|
Method name:
|
Number of AST nodes: 0
|
|
Number of AST nodes: 0
|
|
1 | public class Blobber {↵ | | 1 | public class Item {↵
|
2 | private int id;↵ | | 2 | private long id;↵
|
3 | private Blob blob;↵ | | 3 | private ↵
|
4 | private Clob clob;↵ | | |
|
5 | /**↵ | | |
|
6 | * Returns the blob.↵ | | |
|
7 | * @return Blob↵ | | |
|
8 | */↵ | | |
|
9 | public Blob getBlob() {↵ | | |
|
10 | return blob;↵ | | |
|
11 | }↵ | | |
|
|
12 | /**↵ | | |
|
13 | * Returns the clob.↵ | | |
|
14 | * @return Clob↵ | | |
|
15 | */↵ | | |
|
16 | public Clob getClob() {↵ | | |
|
17 | return clob;↵ | | |
|
18 | }↵ | | |
|
|
19 | /**↵ | | |
|
20 | * Returns the id.↵ | | |
|
21 | * @return int↵ | | |
|
22 | */↵ | | 4 | String name;↵
|
| | | 5 | private String description;↵
|
|
| | | 6 | public String getDescription() {↵
|
| | | 7 | return description;↵
|
| | | 8 | }↵
|
| | | 9 | public void setDescription(String description) {↵
|
| | | 10 | this.description = description;↵
|
| | | 11 | }↵
|
23 | public int getId() {↵ | | 12 | public long getId() {↵
|
24 | return id;↵ | | 13 | return id;↵
|
25 | }↵ | | 14 | }↵
|
|
26 | /**↵ | | |
|
27 | * Sets the blob.↵ | | |
|
28 | * @param blob The blob to set↵ | | |
|
29 | */↵ | | |
|
30 | public void setBlob(Blob blob) {↵ | | 15 | public void set↵
|
31 | this.blob = blob;↵ | | |
|
32 | }↵ | | |
|
|
33 | /**↵ | | |
|
34 | * Sets the clob.↵ | | |
|
35 | * @param clob The clob to set↵ | | |
|
36 | */↵ | | |
|
37 | public void setClob(Clob clob) {↵ | | |
|
38 | this.clob = clob;↵ | | |
|
39 | }↵ | | |
|
|
40 | /**↵ | | |
|
41 | * Sets the id.↵ | | |
|
42 | * @param id The id to set↵ | | |
|
43 | */↵ | | 16 | Id(long id) {↵
|
| | | 17 | this.id = id;↵
|
| | | 18 | }↵
|
| | | 19 | public String getName() {↵
|
| | | 20 | return name;↵
|
| | | 21 | }↵
|
44 | public void setId(int id) {↵ | | 22 | public void set↵
|
45 | this.id = id↵ | | 23 | Name(String name) {↵
|
46 | ;↵ | | 24 | this.name = name;↵
|
47 | | | 25 |
|
See real code fragment |
|
See real code fragment |
Summary
Number of common nesting structure subtrees | 0 |
Number of refactorable cases | 0 |
Number of non-refactorable cases | 0 |
Time elapsed for finding largest common nesting structure subtrees (ms) | 0.0 |
Clones location | |
Number of node comparisons | 0 |