CloneSet1928


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
7201.000block
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
17469
src/NHibernate/Event/Default/DefaultFlushEntityEventListener.cs
27812
src/NHibernate/Loader/Loader.cs
Clone Instance
1
Line Count
7
Source Line
469
Source File
src/NHibernate/Event/Default/DefaultFlushEntityEventListener.cs

                                {
                                        //do we even really need this? the update will fail anyway....
                                        if (session.Factory.Statistics.IsStatisticsEnabled)
                                        {
                                                session.Factory.StatisticsImplementor.OptimisticFailure(persister.EntityName);
                                        }
                                        throw new StaleObjectStateException(persister.EntityName, id);
                                }


Clone Instance
2
Line Count
7
Source Line
812
Source File
src/NHibernate/Loader/Loader.cs

                                {
                                        if (session.Factory.Statistics.IsStatisticsEnabled)
                                        {
                                                session.Factory.StatisticsImplementor.OptimisticFailure(persister.EntityName);
                                        }

                                        throw new StaleObjectStateException(persister.EntityName, id);
                                }


Clone AbstractionParameter Count: 0Parameter Bindings

{
   //do we even really need this? the update will fail anyway....
   if (session.Factory.Statistics.IsStatisticsEnabled)
   {
      session.Factory.StatisticsImplementor.OptimisticFailure(persister.EntityName);
   }
   throw new StaleObjectStateException(persister.EntityName, id);
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
None