Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
4 | 2 | 2 | 0.951 | method_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 4 | 58 | E:/TSE/Projects-CloneDR/columba-1.4-src/contact/src/main/java/org/columba/addressbook/model/GroupModelPartial.java |
2 | 4 | 64 | E:/TSE/Projects-CloneDR/columba-1.4-src/contact/src/main/java/org/columba/addressbook/model/GroupModelPartial.java |
| |||||
public void addContact(IContactModelPartial modelPartial) { if (modelPartial == null) throw new IllegalArgumentException("modelPartial == null"); list.add(modelPartial); } |
| |||||
public void removeContact(IContactModelPartial modelPartial) { if (modelPartial == null) throw new IllegalArgumentException("modelPartial == null"); list.remove(modelPartial); } |
| |||
public void [[#variable131e2d40]](IContactModelPartial modelPartial) { if (modelPartial == null) throw new IllegalArgumentException("modelPartial == null"); list. [[#variable131e2da0]](modelPartial); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#131e2d40]] | addContact |
1 | 2 | [[#131e2d40]] | removeContact |
2 | 1 | [[#131e2da0]] | add |
2 | 2 | [[#131e2da0]] | remove |