public class W {
private long id;
private Set zeds;
/**
*
*/
public W() {
}
/**
* @return
*/
public long getId() {
return id;
}
/**
* @return
*/
public Set getZeds() {
return zeds;
}
/**
* @param l
*/
public void setId(long l) {
id = l;
}
/**
* @param set
*/
public void setZeds(Set set) {
zeds = set;
public class Z {
private long id;
private W w;
/**
*
*/
public Z() {
}
/**
* @return
*/
public long getId() {
return id;
}
/**
* @return
*/
public W getW() {
return w;
}
/**
* @param l
*/
public void setId(long l) {
id = l;
}
/**
* @param w
*/
public void setW(W w) {
this.w = w;
Clone fragments detected by clone detection tool
File path: /hibernate-distribution-3.3.2.GA/project/testsuite/src/test/java/org/hibernate/test/legacy/W.java
|
|
File path: /hibernate-distribution-3.3.2.GA/project/testsuite/src/test/java/org/hibernate/test/legacy/Z.java
|
Method name:
|
|
Method name:
|
Number of AST nodes: 0
|
|
Number of AST nodes: 0
|
|
1 | public class W {↵ | | 1 | public class Z {↵
|
2 | ↵ | | |
|
3 | private long id;↵ | | 2 | private long id;↵
|
4 | private Set zeds;↵ | | 3 | private W w;↵
|
5 | ↵ | | |
|
6 | /**↵ | | 4 | /**↵
|
7 | * ↵ | | 5 | * ↵
|
8 | */↵ | | 6 | */↵
|
9 | public W() {↵ | | 7 | public Z() {↵
|
10 | }↵ | | 8 | }↵
|
|
|
11 | /**↵ | | 9 | /**↵
|
12 | * @return↵ | | 10 | * @return↵
|
13 | */↵ | | 11 | */↵
|
14 | public long getId() {↵ | | 12 | public long getId() {↵
|
15 | return id;↵ | | 13 | return id;↵
|
16 | }↵ | | 14 | }↵
|
|
17 | /**↵ | | 15 | /**↵
|
18 | * @return↵ | | 16 | * @return↵
|
19 | */↵ | | 17 | */↵
|
20 | public Set getZeds() {↵ | | 18 | public W getW() {↵
|
21 | return zeds;↵ | | 19 | return w;↵
|
22 | }↵ | | 20 | }↵
|
|
23 | /**↵ | | 21 | /**↵
|
24 | * @param l↵ | | 22 | * @param l↵
|
25 | */↵ | | 23 | */↵
|
26 | public void setId(long l) {↵ | | 24 | public void setId(long l) {↵
|
27 | id = l;↵ | | 25 | id = l;↵
|
28 | }↵ | | 26 | }↵
|
|
29 | /**↵ | | 27 | /**↵
|
30 | * @param set↵ | | 28 | * @param w↵
|
31 | */↵ | | 29 | */↵
|
32 | public void setZeds(Set set) {↵ | | 30 | public void set↵
|
33 | zeds = set↵ | | 31 | W(W w) {↵
|
34 | ;↵ | | 32 | this.w = w;↵
|
35 | | | 33 |
|
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 |