Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
2 | 2 | 2 | 0.950 | method_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 2 | 197 | E:/TSE/Projects-CloneDR/columba-1.4-src/contact-facade/src/main/java/org/columba/addressbook/facade/IContactFacade.java |
2 | 2 | 219 | E:/TSE/Projects-CloneDR/columba-1.4-src/contact-facade/src/main/java/org/columba/addressbook/facade/IContactFacade.java |
| |||||
/** * Find a contact by email address in specified contact folder. * * @param folderId * contact folder unique id * @param emailAddress * email address to search for * @return contact id, in case a matching contact was found. * <code>null</code>otherwise. * @throws StoreException * in case of an internal storage backend failure * @throws IllegalArgumentException * in case of invalid arguments, in case this method is not * supported by a facade implementation */ public String findByEmailAddress(String folderId, String emailAddress) throws StoreException, IllegalArgumentException; |
| |||||
/** * Find a contact by name in specified contact folder. * <p> * First tries to find a vCard "SORT_AS", then vCard "LASTNAME" and last * vCard "FIRSTNAME", until a match is found. If several contacts match the * first one is used and all other results are ignored. * * @param folderId * contact folder unique id * @param name * name to search for * @return contact id, in case a matching contact was found. * <code>null</code>otherwise. * @throws StoreException * in case of an internal storage backend failure * @throws IllegalArgumentException * in case of invalid arguments, in case this method is not * supported by a facade implementation */ public String findByName(String folderId, String name) throws StoreException, IllegalArgumentException; |
| |||
/** * Find a contact by name in specified contact folder. * <p> * First tries to find a vCard "SORT_AS", then vCard "LASTNAME" and last * vCard "FIRSTNAME", until a match is found. If several contacts match the * first one is used and all other results are ignored. * * @param folderId * contact folder unique id * @param name * name to search for * @return contact id, in case a matching contact was found. * <code>null</code>otherwise. * @throws StoreException * in case of an internal storage backend failure * @throws IllegalArgumentException * in case of invalid arguments, in case this method is not * supported by a facade implementation */ /** * Find a contact by email address in specified contact folder. * * @param folderId * contact folder unique id * @param emailAddress * email address to search for * @return contact id, in case a matching contact was found. * <code>null</code>otherwise. * @throws StoreException * in case of an internal storage backend failure * @throws IllegalArgumentException * in case of invalid arguments, in case this method is not * supported by a facade implementation */ public String [[#variable131f11c0]](String folderId, String [[#variable131f10e0]]) throws StoreException, IllegalArgumentException; |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#131f11c0]] | findByEmailAddress |
1 | 2 | [[#131f11c0]] | findByName |
2 | 1 | [[#131f10e0]] | emailAddress |
2 | 2 | [[#131f10e0]] | name |