public static final class Component {
private Calendar cal;
private Float floaty;
/**
* Returns the cal.
* @return Calendar
*/
public Calendar getCal() {
return cal;
}
/**
* Sets the cal.
* @param cal The cal to set
*/
public void setCal(Calendar cal) {
this.cal = cal;
}
/**
* Returns the floaty.
* @return Float
*/
public Float getFloaty() {
return floaty;
}
/**
* Sets the floaty.
* @param floaty The floaty to set
*/
public void setFloaty(Float floaty) {
this.floaty = floaty;
static public class OrderId implements Serializable {
String orgid;
String ordernumber;
public String getOrdernumber() {
return ordernumber;
}
public void setOrdernumber(String ordernumber) {
this.ordernumber = ordernumber;
}
public String getOrgid() {
return orgid;
}
public void setOrgid(String orgid) {
this.orgid = orgid;
Clone fragments detected by clone detection tool
File path: /hibernate-distribution-3.3.2.GA/project/testsuite/src/test/java/org/hibernate/test/legacy/Multi.java
|
|
File path: /hibernate-distribution-3.3.2.GA/project/testsuite/src/test/java/org/hibernate/test/sql/hand/Order.java
|
Method name:
|
|
Method name:
|
Number of AST nodes: 0
|
|
Number of AST nodes: 0
|
|
1 | public static final class Component {↵ | | 1 | static public class ↵
|
2 | private Calendar cal;↵ | | |
|
3 | private Float floaty;↵ | | |
|
4 | /**↵ | | |
|
5 | * Returns the cal.↵ | | |
|
6 | * @return Calendar↵ | | |
|
7 | */↵ | | |
|
8 | public Calendar getCal↵ | | 2 | OrderId implements Serializable {↵
|
| | | 3 | String orgid;↵
|
| | | 4 | String ordernumber;↵
|
9 | () {↵ | | 5 | public String getOrdernumber() {
↵
|
10 | return cal;↵ | | 6 | return ↵
|
11 | }↵ | | |
|
12 | ↵ | | |
|
13 | /**↵ | | |
|
14 | * Sets the cal.↵ | | |
|
15 | * @param cal The cal to set↵ | | |
|
16 | */↵ | | |
|
17 | public void setCal(Calendar cal↵ | | 7 | ordernumber;↵
|
| | | 8 | }↵
|
18 | ) {↵ | | 9 | public void setOrdernumber(String ordernumber) {
↵
|
19 | this.cal = cal;↵ | | 10 | this.↵
|
20 | }↵ | | |
|
21 | ↵ | | |
|
22 | /**↵ | | |
|
23 | * Returns the floaty.↵ | | |
|
24 | * @return Float↵ | | |
|
25 | */↵ | | |
|
26 | public Float getFloaty↵ | | 11 | ordernumber = ordernumber;↵
|
| | | 12 | }↵
|
27 | () {↵ | | 13 | public String getOrgid() {
↵
|
28 | return floaty;↵ | | 14 | return ↵
|
29 | }↵ | | |
|
30 | ↵ | | |
|
31 | /**↵ | | |
|
32 | * Sets the floaty.↵ | | |
|
33 | * @param floaty The floaty to set↵ | | |
|
34 | */↵ | | |
|
35 | public void setFloaty(Float floaty↵ | | 15 | orgid;↵
|
| | | 16 | }↵
|
36 | ) {↵ | | 17 | public void setOrgid(String orgid) {
↵
|
37 | this.floaty = floaty;↵ | | 18 | this.orgid = orgid;
↵
|
38 | | | 19 |
|
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 |