CloneSet1146


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
3240.957block
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1348
src/NHibernate/Event/Default/AbstractLockUpgradeEventListener.cs
23240
src/NHibernate/Event/Default/DefaultLoadEventListener.cs
Clone Instance
1
Line Count
3
Source Line
48
Source File
src/NHibernate/Event/Default/AbstractLockUpgradeEventListener.cs

                                {
                                        ck = new CacheKey(entry.Id, persister.IdentifierType, persister.RootEntityName, source.EntityMode, source.Factory);
                                        slock = persister.Cache.Lock(ck, entry.Version);
                                }


Clone Instance
2
Line Count
3
Source Line
240
Source File
src/NHibernate/Event/Default/DefaultLoadEventListener.cs

                        {
                                ck = new CacheKey(@event.EntityId, persister.IdentifierType, persister.RootEntityName, source.EntityMode, source.Factory);
                                sLock = persister.Cache.Lock(ck, null);
                        }


Clone AbstractionParameter Count: 4Parameter Bindings

{
   ck = new CacheKey( [[#variable293685a0]]. [[#variable29368520]], persister.IdentifierType, persister.RootEntityName, source.EntityMode, source.Factory);
    [[#variable293684a0]]= persister.Cache.Lock(ck, [[#variable29368420]]);
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#293685a0]]
@event 
12[[#293685a0]]
entry 
21[[#29368520]]
EntityId 
22[[#29368520]]
Id 
31[[#293684a0]]
sLock 
32[[#293684a0]]
slock 
41[[#29368420]]
null 
42[[#29368420]]
entry.Version