Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
13 | 2 | 1 | 0.993 | class_member_declarations[3] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 13 | 268 | src/NHibernate/Collection/PersistentBag.cs |
2 | 13 | 353 | src/NHibernate/Collection/PersistentSet.cs |
| ||||
public override bool NeedsUpdating(object entry, int i, IType elemType) { return false; } public override object GetIndex(object entry, int i, ICollectionPersister persister) { throw new NotSupportedException("Bags don't have indexes"); } public override object GetElement(object entry) { return entry; } |
| ||||
public override bool NeedsUpdating(object entry, int i, IType elemType) { return false; } public override object GetIndex(object entry, int i, ICollectionPersister persister) { throw new NotSupportedException("Sets don't have indexes"); } public override object GetElement(object entry) { return entry; } |
| |||
public override bool NeedsUpdating(object entry, int i, IType elemType) { return false; } public override object GetIndex(object entry, int i, ICollectionPersister persister) { throw new NotSupportedException( [[#variable56f9e380]]); } public override object GetElement(object entry) { return entry; } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#56f9e380]] | "Sets don't have indexes" |
1 | 2 | [[#56f9e380]] | "Bags don't have indexes" |