| Previous CloneSet | Next CloneSet | Back to Main Report |
| Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
|---|---|---|---|---|
| 5 | 2 | 2 | 0.980 | class_member_declaration |
| Clone Abstraction | Parameter Bindings |
| Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
|---|---|---|---|
| 1 | 5 | 517 | src/NHibernate/Impl/SessionImpl.cs |
| 2 | 5 | 533 | src/NHibernate/Impl/SessionImpl.cs |
| ||||
public void Update(object obj)
{
using (new SessionIdLoggingContext(SessionId))
{
FireUpdate(new SaveOrUpdateEvent(null, obj, this ));
}
}
|
| ||||
public void SaveOrUpdate(object obj)
{
using (new SessionIdLoggingContext(SessionId))
{
FireSaveOrUpdate(new SaveOrUpdateEvent(null, obj, this ));
}
}
|
| |||
public void [[#variable6fe983e0]](object obj)
{
using (new SessionIdLoggingContext(SessionId))
{
[[#variable6fe98340]](new SaveOrUpdateEvent(null, obj, this ));
}
}
|
| CloneAbstraction |
| Parameter Index | Clone Instance | Parameter Name | Value |
|---|---|---|---|
| 1 | 1 | [[#6fe983e0]] | SaveOrUpdate |
| 1 | 2 | [[#6fe983e0]] | Update |
| 2 | 1 | [[#6fe98340]] | FireSaveOrUpdate |
| 2 | 2 | [[#6fe98340]] | FireUpdate |