CloneSet368


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
16230.964block
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
116118
E:/TSE/Projects-CloneDR/columba-1.4-src/contact/src/main/java/org/columba/addressbook/facade/ContactFacade.java
214139
E:/TSE/Projects-CloneDR/columba-1.4-src/contact/src/main/java/org/columba/addressbook/facade/ContactFacade.java
Next
Last
Clone Instance
1
Line Count
16
Source Line
118
Source File
E:/TSE/Projects-CloneDR/columba-1.4-src/contact/src/main/java/org/columba/addressbook/facade/ContactFacade.java

{
  if (contactItems == null)
    throw new IllegalArgumentException("Zero IContactItem\'s were specified to add to addressbook folder");
  AddressbookTreeModel model = AddressbookTreeModel.getInstance();
  SelectAddressbookFolderDialog dialog = new SelectAddressbookFolderDialog(model);
  if (dialog.success()) {
    IFolder folder = dialog.getSelectedFolder();
    String uid = folder.getId();
    addContacts(uid, contactItems);
  }
  else
    return;
}


First
Previous
Clone Instance
2
Line Count
14
Source Line
139
Source File
E:/TSE/Projects-CloneDR/columba-1.4-src/contact/src/main/java/org/columba/addressbook/facade/ContactFacade.java

{
  if (contactItem == null)
    throw new IllegalArgumentException("IContactItem is null");
  AddressbookTreeModel model = AddressbookTreeModel.getInstance();
  SelectAddressbookFolderDialog dialog = new SelectAddressbookFolderDialog(model);
  if (dialog.success()) {
    IFolder folder = dialog.getSelectedFolder();
    String uid = folder.getId();
    addContact(uid, contactItem);
  }
  else
    return;
}


Clone AbstractionParameter Count: 3Parameter Bindings

{
  if ( [[#variable13292ac0]]== null)
    throw new IllegalArgumentException( [[#variable13292a40]]);
  AddressbookTreeModel model = AddressbookTreeModel.getInstance();
  SelectAddressbookFolderDialog dialog = new SelectAddressbookFolderDialog(model);
  if (dialog.success()) {
    IFolder folder = dialog.getSelectedFolder();
    String uid = folder.getId();
     [[#variable132929a0]](uid,  [[#variable13292ac0]]);
  }
  else
    return;
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#13292ac0]]
contactItems 
12[[#13292ac0]]
contactItem 
21[[#13292a40]]
"Zero IContactItem\'s were specified to add to addressbook folder" 
22[[#13292a40]]
"IContactItem is null" 
31[[#132929a0]]
addContacts 
32[[#132929a0]]
addContact