CloneSet205


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
8650.956block
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
182456
src/NHibernate/Impl/SessionImpl.cs
282482
src/NHibernate/Impl/SessionImpl.cs
382522
src/NHibernate/Impl/SessionImpl.cs
482535
src/NHibernate/Impl/SessionImpl.cs
582561
src/NHibernate/Impl/SessionImpl.cs
682653
src/NHibernate/Impl/SessionImpl.cs
Clone Instance
1
Line Count
8
Source Line
2456
Source File
src/NHibernate/Impl/SessionImpl.cs

                {
                        using (new SessionIdLoggingContext(SessionId))
                        {
                                CheckAndUpdateSessionStatus();
                                IDeleteEventListener[] deleteEventListener = listeners.DeleteEventListeners;
                                for (int i = 0; i < deleteEventListener.Length; i++)
                                {
                                        deleteEventListener[i].OnDelete(@event, transientEntities);
                                }
                        }
                }


Clone Instance
2
Line Count
8
Source Line
2482
Source File
src/NHibernate/Impl/SessionImpl.cs

                {
                        using (new SessionIdLoggingContext(SessionId))
                        {
                                CheckAndUpdateSessionStatus();
                                ILoadEventListener[] loadEventListener = listeners.LoadEventListeners;
                                for (int i = 0; i < loadEventListener.Length; i++)
                                {
                                        loadEventListener[i].OnLoad(@event, loadType);
                                }
                        }
                }


Clone Instance
3
Line Count
8
Source Line
2522
Source File
src/NHibernate/Impl/SessionImpl.cs

                {
                        using (new SessionIdLoggingContext(SessionId))
                        {
                                CheckAndUpdateSessionStatus();
                                IMergeEventListener[] mergeEventListener = listeners.MergeEventListeners;
                                for (int i = 0; i < mergeEventListener.Length; i++)
                                {
                                        mergeEventListener[i].OnMerge(@event, copiedAlready);
                                }
                        }
                }


Clone Instance
4
Line Count
8
Source Line
2535
Source File
src/NHibernate/Impl/SessionImpl.cs

                {
                        using (new SessionIdLoggingContext(SessionId))
                        {
                                CheckAndUpdateSessionStatus();
                                IPersistEventListener[] persistEventListener = listeners.PersistEventListeners;
                                for (int i = 0; i < persistEventListener.Length; i++)
                                {
                                        persistEventListener[i].OnPersist(@event, copiedAlready);
                                }
                        }
                }


Clone Instance
5
Line Count
8
Source Line
2561
Source File
src/NHibernate/Impl/SessionImpl.cs

                {
                        using (new SessionIdLoggingContext(SessionId))
                        {
                                CheckAndUpdateSessionStatus();
                                IPersistEventListener[] persistEventListener = listeners.PersistOnFlushEventListeners;
                                for (int i = 0; i < persistEventListener.Length; i++)
                                {
                                        persistEventListener[i].OnPersist(@event, copiedAlready);
                                }
                        }
                }


Clone Instance
6
Line Count
8
Source Line
2653
Source File
src/NHibernate/Impl/SessionImpl.cs

                {
                        using (new SessionIdLoggingContext(SessionId))
                        {
                                CheckAndUpdateSessionStatus();
                                IMergeEventListener[] saveOrUpdateCopyEventListener = listeners.SaveOrUpdateCopyEventListeners;
                                for (int i = 0; i < saveOrUpdateCopyEventListener.Length; i++)
                                {
                                        saveOrUpdateCopyEventListener[i].OnMerge(@event, copiedAlready);
                                }
                        }
                }


Clone AbstractionParameter Count: 5Parameter Bindings

{
   using (new SessionIdLoggingContext(SessionId))
   {
      CheckAndUpdateSessionStatus();
       [[#variable2d099140]][] [[#variable2d085aa0]]= listeners. [[#variable2d0991c0]];
      for (int i = 0; i < [[#variable2d085aa0]].Length; i++)
      {
          [[#variable2d085aa0]][i]. [[#variable2d099120]](@event, [[#variable2d0990e0]]);
      }
   }
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#2d099140]]
IMergeEventListener 
12[[#2d099140]]
IPersistEventListener 
13[[#2d099140]]
IPersistEventListener 
14[[#2d099140]]
IMergeEventListener 
15[[#2d099140]]
ILoadEventListener 
16[[#2d099140]]
IDeleteEventListener 
21[[#2d085aa0]]
saveOrUpdateCopyEventListener 
22[[#2d085aa0]]
persistEventListener 
23[[#2d085aa0]]
persistEventListener 
24[[#2d085aa0]]
mergeEventListener 
25[[#2d085aa0]]
loadEventListener 
26[[#2d085aa0]]
deleteEventListener 
31[[#2d0991c0]]
SaveOrUpdateCopyEventListeners 
32[[#2d0991c0]]
PersistOnFlushEventListeners 
33[[#2d0991c0]]
PersistEventListeners 
34[[#2d0991c0]]
MergeEventListeners 
35[[#2d0991c0]]
LoadEventListeners 
36[[#2d0991c0]]
DeleteEventListeners 
41[[#2d099120]]
OnMerge 
42[[#2d099120]]
OnPersist 
43[[#2d099120]]
OnPersist 
44[[#2d099120]]
OnMerge 
45[[#2d099120]]
OnLoad 
46[[#2d099120]]
OnDelete 
51[[#2d0990e0]]
copiedAlready 
52[[#2d0990e0]]
copiedAlready 
53[[#2d0990e0]]
copiedAlready 
54[[#2d0990e0]]
copiedAlready 
55[[#2d0990e0]]
loadType 
56[[#2d0990e0]]
transientEntities