Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
3 | 2 | 2 | 0.970 | constructor_header |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 3 | 25 | src/NHibernate/Action/CollectionRemoveAction.cs |
2 | 3 | 18 | src/NHibernate/Action/CollectionUpdateAction.cs |
| ||||
/// <summary> /// Removes a persistent collection from its loaded owner. /// </summary> /// <param name="collection">The collection to to remove; must be non-null </param> /// <param name="persister"> The collection's persister </param> /// <param name="id">The collection key </param> /// <param name="emptySnapshot">Indicates if the snapshot is empty </param> /// <param name="session">The session </param> /// <remarks>Use this constructor when the collection is non-null.</remarks> public CollectionRemoveAction(IPersistentCollection collection, ICollectionPersister persister, object id, bool emptySnapshot, ISessionImplementor session) : base(persister, collection, id, session) |
| ||||
public CollectionUpdateAction(IPersistentCollection collection, ICollectionPersister persister, object key, bool emptySnapshot, ISessionImplementor session) : base(persister, collection, key, session) |
| |||
/// <summary> /// Removes a persistent collection from its loaded owner. /// </summary> /// <param name="collection">The collection to to remove; must be non-null </param> /// <param name="persister"> The collection's persister </param> /// <param name="id">The collection key </param> /// <param name="emptySnapshot">Indicates if the snapshot is empty </param> /// <param name="session">The session </param> /// <remarks>Use this constructor when the collection is non-null.</remarks> public [[#variable6fe99720]](IPersistentCollection collection, ICollectionPersister persister, object [[#variable6fe99660]], bool emptySnapshot, ISessionImplementor session): base(persister, collection, [[#variable6fe99660]], session) |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#6fe99720]] | CollectionRemoveAction |
1 | 2 | [[#6fe99720]] | CollectionUpdateAction |
2 | 1 | [[#6fe99660]] | id |
2 | 2 | [[#6fe99660]] | key |