public class HeresAnotherCrazyIdFieldName {
private Long heresAnotherCrazyIdFieldName;
private String name;
public HeresAnotherCrazyIdFieldName() {
}
public HeresAnotherCrazyIdFieldName(String name) {
this.name = name;
}
public Long getHeresAnotherCrazyIdFieldName() {
return heresAnotherCrazyIdFieldName;
}
public void setHeresAnotherCrazyIdFieldName(Long heresAnotherCrazyIdFieldName) {
this.heresAnotherCrazyIdFieldName = heresAnotherCrazyIdFieldName;
}
public String getName() {
return name;
}
public void setName(String name) {
this.name = name
public class Child {
private String name;
private List friends;
Child() {}
public Child(String name) {
this.name = name;
}
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public List getFriends() {
return friends;
}
public void setFriends(List friends) {
this.friends = friends
Clone fragments detected by clone detection tool
File path: /hibernate-distribution-3.3.2.GA/project/testsuite/src/test/java/org/hibernate/test/hql/HeresAnotherCrazyIdFieldName.java
|
|
File path: /hibernate-distribution-3.3.2.GA/project/testsuite/src/test/java/org/hibernate/test/subselectfetch/Child.java
|
Method name:
|
|
Method name:
|
Number of AST nodes: 0
|
|
Number of AST nodes: 0
|
|
1 | public class HeresAnotherCrazyIdFieldName {↵ | | 1 | public class ↵
|
2 | private Long heresAnotherCrazyIdFieldN↵ | | 2 | Child {↵
|
3 | ame;↵ | | 3 | private String name;↵
|
4 | private String name;↵ | | 4 | private ↵
|
|
5 | public HeresAnotherCrazyIdFieldName() {↵ | | |
|
6 | }↵ | | |
|
|
7 | public HeresAnotherCrazyIdFieldName↵ | | 5 | List friends;↵
|
|
| | | 6 | Child() {}↵
|
8 | (String name) {↵ | | 7 | public Child(String name) {↵
|
9 | this.name = name;↵ | | 8 | this.name = name;↵
|
10 | }↵ | | 9 | }↵
|
|
11 | public Long getHeresAnotherCrazyIdFieldName() {↵ | | 10 | public String get↵
|
12 | return heresAnotherCrazyIdFieldN↵ | | 11 | Name() {↵
|
13 | ame;↵ | | 12 | return name;↵
|
14 | }↵ | | 13 | }↵
|
| | | 14 | ↵
|
15 | public void setHeresAnotherCrazyIdFieldName(Long heresAnotherCrazyIdFieldName) {↵ | | 15 | public void set↵
|
16 | this.heresAnotherCrazyIdFieldName = heresAnotherCrazyIdFieldN↵ | | 16 | Name(String name) {↵
|
17 | ame;↵ | | 17 | this.name = name;↵
|
18 | }↵ | | 18 | }↵
|
|
19 | public String getName() {↵ | | 19 | public List getFriends() {↵
|
20 | return name;↵ | | 20 | return friends;↵
|
21 | }↵ | | 21 | }↵
|
| | | 22 | ↵
|
22 | public void setName(String name) {↵ | | 23 | public void set↵
|
23 | this.name = name | | 24 | Friends(List friends) {↵
|
| | | 25 | this.friends = friends
|
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 |