public int count() {
return map.size();
}
/**
* @see org.columba.addressbook.folder.ContactItemCacheStorage#exists(java.lang.Object)
*/
public boolean exists(String uid) {
return map.containsKey(uid)
public int count() {
return map.size();
}
public boolean exists(Object uid) {
return map.containsKey(uid)
Clone fragments detected by clone detection tool
File path: /columba-1.4-src/contact/src/main/java/org/columba/addressbook/folder/ContactItemCacheStorageImpl.java
|
|
File path: /columba-1.4-src/mail/src/main/java/org/columba/mail/folder/headercache/MemoryHeaderList.java
|
Method name:
|
|
Method name:
|
Number of AST nodes: 0
|
|
Number of AST nodes: 0
|
|
1 | public int count() {↵ | | 1 | public int count() {↵
|
2 | return map.size();↵ | | 2 | return map.size();↵
|
3 | }↵ | | |
|
|
4 | /**↵ | | |
|
5 | * @see org.columba.addressbook.folder.ContactItemCacheStorage#exists(java.lang.Object)↵ | | |
|
6 | */↵ | | |
|
7 | ↵ | | 3 | }↵
|
|
8 | public boolean exists(String uid) {↵ | | 4 | public boolean exists(Object uid) {↵
|
9 | return map.containsKey(uid) | | 5 | return map.containsKey(uid)
|
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 |