public class OtherAssigned {
private Long id;
private ParentAssigned owner;
public OtherAssigned() {
}
public OtherAssigned(Long id) {
this.id = id;
}
public Long getId() {
return id;
}
public ParentAssigned getOwner() {
return owner;
}
public void setOwner(ParentAssigned owner) {
this.owner = owner
static public class ProductId implements Serializable {
String orgid;
String productnumber;
public String getProductnumber() {
return productnumber;
}
public void setProductnumber(String ordernumber) {
this.productnumber = 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/jpa/cascade/OtherAssigned.java
|
|
File path: /hibernate-distribution-3.3.2.GA/project/testsuite/src/test/java/org/hibernate/test/sql/hand/Product.java
|
Method name:
|
|
Method name:
|
Number of AST nodes: 0
|
|
Number of AST nodes: 0
|
|
1 | public class OtherAssigned {↵ | | 1 | static public class ↵
|
2 | private Long id;↵ | | |
|
3 | private ParentAssigned own↵ | | 2 | ProductId implements Serializable {↵
|
| | | 3 | String orgid;↵
|
4 | er;↵ | | 4 | String productnumber;↵
|
|
5 | public OtherAssigned() {↵ | | 5 | public ↵
|
6 | }↵ | | |
|
| | | 6 | String getProductnumber() {↵
|
| | | 7 | return productnumber;↵
|
| | | 8 | }↵
|
7 | public OtherAssigned(Long id) {↵ | | 9 | public void setProductnumber(String ordernumber) {↵
|
8 | this.id = id;↵ | | 10 | this.↵
|
9 | }↵ | | |
|
|
10 | public Long getId() {↵ | | |
|
11 | return id;↵ | | 11 | productnumber = ordernumber;↵
|
12 | }↵ | | 12 | }↵
|
|
13 | public ParentAssigned getOwner() {↵ | | 13 | public String getOrgid() {↵
|
14 | return owner;↵ | | 14 | return orgid;↵
|
15 | }↵ | | 15 | }↵
|
|
16 | public void setOwner(ParentAssigned owner) {↵ | | 16 | public void setOrgid(String orgid) {↵
|
17 | this.owner = owner | | 17 | this.orgid = orgid
|
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 |