Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
7 | 2 | 0 | 1.000 | block |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 7 | 469 | src/NHibernate/Event/Default/DefaultFlushEntityEventListener.cs |
2 | 7 | 812 | src/NHibernate/Loader/Loader.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); } |
| ||||
{ if (session.Factory.Statistics.IsStatisticsEnabled) { session.Factory.StatisticsImplementor.OptimisticFailure(persister.EntityName); } throw new StaleObjectStateException(persister.EntityName, id); } |
| |||
{ //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 Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
None |