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 Person {
private Long id;
private Identity identity;
public Long getId() {
return id;
}
public void setId(Long id) {
this.id = id;
}
public Identity getIdentity() {
return identity;
}
public void setIdentity(Identity identity) {
this.identity = identity;
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/propertyref/component/complete/Person.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;↵ | | |
|
4 | ↵ | | 2 | Person {↵
|
| | | 3 | private Long id;↵
|
| | | 4 | private Identity identity;↵
|
| | | 5 | ↵
|
5 | public Fum getFo() {↵ | | 6 | public Long getId() {
↵
|
6 | return fo;↵ | | 7 | return ↵
|
7 | }↵ | | |
|
8 | ↵ | | 8 | id;↵
|
| | | 9 | }↵
|
9 | public void setFo(Fum fo) {↵ | | 10 | public void setId(Long id) {
↵
|
10 | this.fo = fo;↵ | | 11 | this.id = ↵
|
11 | }↵ | | 12 | id;↵
|
| | | 13 | }
↵
|
12 | public Fum getFum() {↵ | | 14 | public Identity getIdentity() {
↵
|
13 | return fum;↵ | | 15 | return ↵
|
14 | }↵ | | |
|
15 | ↵ | | 16 | identity;↵
|
| | | 17 | }↵
|
16 | public void setFum(Fum fum) {↵ | | 18 | public void setIdentity(Identity identity) {
↵
|
17 | this.fum = fum;↵ | | 19 | this.identity = identity;
↵
|
18 | | | 20 |
|
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 |