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 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
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/legacy/Multi.java
|
Method name:
|
|
Method name:
|
Number of AST nodes: 0
|
|
Number of AST nodes: 0
|
|
1 | static public class ABean {↵ | | 1 | public static final class ↵
|
2 | public Fum fum;↵ | | |
|
3 | public Fum fo;↵ | | |
|
4 | public Fum↵ | | 2 | Component {↵
|
| | | 3 | private Calendar cal;↵
|
| | | 4 | private Float floaty;↵
|
| | | 5 | /**↵
|
| | | 6 | * Returns the cal.↵
|
| | | 7 | * @return Calendar↵
|
| | | 8 | */↵
|
5 | getFo() {↵ | | 9 | public Calendar getCal() {↵
|
6 | return fo;↵ | | 10 | return cal;↵
|
7 | }↵ | | 11 | }↵
|
8 | public void setFo(Fum fo) {↵ | | 12 | ↵
|
9 | this.fo = fo;↵ | | |
|
10 | }↵ | | |
|
| | | 13 | /**↵
|
| | | 14 | * Sets the cal.↵
|
| | | 15 | * @param cal The cal to set↵
|
| | | 16 | */↵
|
| | | 17 | public void setCal(Calendar cal) {↵
|
| | | 18 | this.cal = cal;↵
|
| | | 19 | }↵
|
| | | 20 | ↵
|
| | | 21 | /**↵
|
| | | 22 | * Returns the floaty.↵
|
| | | 23 | * @return Float↵
|
| | | 24 | */↵
|
11 | public Fum getFum() {↵ | | 25 | public Float getFloaty() {↵
|
12 | return fum;↵ | | 26 | return floaty;↵
|
13 | }↵ | | 27 | }↵
|
14 | public void setFum(Fum fum) {↵ | | 28 | ↵
|
15 | this.fum = fum | | |
|
| | | 29 | /**↵
|
| | | 30 | * Sets the floaty.↵
|
| | | 31 | * @param floaty The floaty to set↵
|
| | | 32 | */↵
|
| | | 33 | public void setFloaty(Float floaty) {↵
|
| | | 34 | this.floaty = floaty
|
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 |