public int count() throws StoreException { return cacheStorage.count(); } /** * @see org.columba.addressbook.folder.IContactStorage#exists(java.lang.Object) */ public boolean exists(String uid) throws StoreException { return cacheStorage.exists(uid);
public int count() throws StoreException{ return group.count(); } /** * @see org.columba.addressbook.folder.IContactStorage#exists(java.lang.Object) */ public boolean exists(String uid) throws StoreException{ return group.exists(uid);
Clone fragments detected by clone detection tool
File path: /columba-1.4-src/contact/src/main/java/org/columba/addressbook/folder/AbstractFolder.java File path: /columba-1.4-src/contact/src/main/java/org/columba/addressbook/folder/GroupFolder.java
Method name: Method name:
Number of AST nodes: 0 Number of AST nodes: 0
1
public int count() throws StoreException {
1
public int count() throws StoreException{
2
		return cacheStorage.count();
2
		return group.count();
3
	}
3
	}
4
	/**
4
	/**
5
	 * @see org.columba.addressbook.folder.IContactStorage#exists(java.lang.Object)
5
	 * @see org.columba.addressbook.folder.IContactStorage#exists(java.lang.Object)
6
	 */
6
	 */
7
	public boolean exists(String uid) throws StoreException {
7
	public boolean exists(String uid) throws StoreException{
8
		return cacheStorage.exists(uid);
8
		return group.exists(uid);
Summary
Number of common nesting structure subtrees0
Number of refactorable cases0
Number of non-refactorable cases0
Time elapsed for finding largest common nesting structure subtrees (ms)0.0
Clones location
Number of node comparisons0