Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
3 | 2 | 4 | 0.957 | block |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 3 | 48 | src/NHibernate/Event/Default/AbstractLockUpgradeEventListener.cs |
2 | 3 | 240 | src/NHibernate/Event/Default/DefaultLoadEventListener.cs |
| ||||
{ ck = new CacheKey(entry.Id, persister.IdentifierType, persister.RootEntityName, source.EntityMode, source.Factory); slock = persister.Cache.Lock(ck, entry.Version); } |
| ||||
{ ck = new CacheKey(@event.EntityId, persister.IdentifierType, persister.RootEntityName, source.EntityMode, source.Factory); sLock = persister.Cache.Lock(ck, null); } |
| |||
{ ck = new CacheKey( [[#variable293685a0]]. [[#variable29368520]], persister.IdentifierType, persister.RootEntityName, source.EntityMode, source.Factory); [[#variable293684a0]]= persister.Cache.Lock(ck, [[#variable29368420]]); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#293685a0]] | @event |
1 | 2 | [[#293685a0]] | entry |
2 | 1 | [[#29368520]] | EntityId |
2 | 2 | [[#29368520]] | Id |
3 | 1 | [[#293684a0]] | sLock |
3 | 2 | [[#293684a0]] | slock |
4 | 1 | [[#29368420]] | null |
4 | 2 | [[#29368420]] | entry.Version |