Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
6 | 2 | 1 | 0.976 | class_member_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 6 | 573 | src/NHibernate/Impl/StatelessSessionImpl.cs |
2 | 6 | 611 | src/NHibernate/Impl/StatelessSessionImpl.cs |
| ||||
/// <summary> Update a entity.</summary> /// <param name="entity">a detached entity instance </param> public void Update(object entity) { using (new SessionIdLoggingContext(SessionId)) { CheckAndUpdateSessionStatus(); Update(null, entity); } } |
| ||||
/// <summary> Delete a entity. </summary> /// <param name="entity">a detached entity instance </param> public void Delete(object entity) { using (new SessionIdLoggingContext(SessionId)) { CheckAndUpdateSessionStatus(); Delete(null, entity); } } |
| |||
/// <summary> Delete a entity. </summary> /// <summary> Update a entity.</summary> /// <param name="entity">a detached entity instance </param> public void [[#variable6f48a3c0]](object entity) { using (new SessionIdLoggingContext(SessionId)) { CheckAndUpdateSessionStatus(); [[#variable6f48a3c0]](null, entity); } } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#6f48a3c0]] | Delete |
1 | 2 | [[#6f48a3c0]] | Update |