static public class ABean {
public Fum fum;
public Fum fo;
public Fum getFo() {
return fo;
}
public void setFo(Fum fo) {
this.fo = fo;
}
public Fum getFum() {
return fum;
}
public void setFum(Fum fum) {
this.fum = fum
public class Paper {
private Integer id;
private String color;
public Integer getId() {
return id;
}
public void setId(Integer id) {
this.id = id;
}
public String getColor() {
return color;
}
public void setColor(String color) {
this.color = color
Clone fragments detected by clone detection tool
File path: /hibernate-distribution-3.3.2.GA/project/testsuite/src/test/java/org/hibernate/test/legacy/FumTest.java
|
|
File path: /hibernate-distribution-3.3.2.GA/project/testsuite/src/test/java/org/hibernate/test/stateless/Paper.java
|
Method name:
|
|
Method name:
|
Number of AST nodes: 0
|
|
Number of AST nodes: 0
|
|
1 | static public class ABean {↵ | | 1 | public class ↵
|
2 | public Fum fum;↵ | | |
|
3 | public Fum fo↵ | | 2 | Paper {↵
|
| | | 3 | private Integer id;↵
|
4 | ;↵ | | 4 | private String color;↵
|
5 | ↵ | | |
|
6 | public Fum getFo() {↵ | | 5 | public Integer getId() {↵
|
7 | return fo;↵ | | 6 | return id;↵
|
8 | }↵ | | 7 | }↵
|
9 | ↵ | | |
|
10 | public void setFo(Fum fo) {↵ | | 8 | public void setId(Integer id) {↵
|
11 | this.fo = fo;↵ | | 9 | this.id = id;↵
|
12 | }↵ | | 10 | }↵
|
13 | ↵ | | |
|
14 | public Fum getFum() {↵ | | 11 | public String getColor() {↵
|
15 | return fum;↵ | | 12 | return color;↵
|
16 | }↵ | | 13 | }↵
|
17 | ↵ | | |
|
18 | public void setFum(Fum fum) {↵ | | 14 | public void setColor(String color) {↵
|
19 | this.fum = fum | | 15 | this.color = color
|
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 |