this.uid = uid;
this.start = start;
this.length = length;
this.number = number;
this.type = type;
if (type >= NAMES.length)
throw new IllegalArgumentException("unsupported type");
Clone fragments detected by clone detection tool
File path: /columba-1.4-src/mail/src/main/java/org/columba/mail/folder/mbox/MboxMessage.java
|
|
File path: /columba-1.4-src/contact/src/main/java/org/columba/addressbook/model/PhoneModel.java
|
Method name: void MboxMessage(Object, long, long)
|
|
Method name: void PhoneModel(String, int)
|
Number of AST nodes: 3
|
|
Number of AST nodes: 4
|
|
1 | this.uid = uid;↵ | | 1 | this.number = number;↵
|
2 | this.start = start;↵ | | 2 | this.↵
|
3 | this.length = length↵ | | 3 | type = type;↵
|
|
| | | 4 | if (type >= NAMES.length)↵
|
4 | ; | | 5 | throw new IllegalArgumentException("unsupported type");
|
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 | Clones are in different classes |
Number of node comparisons | 6 |