Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
8 | 2 | 2 | 0.984 | class_member_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 8 | 136 | src/NHibernate/Transaction/AdoNetWithDistrubtedTransactionFactory.cs |
2 | 8 | 147 | src/NHibernate/Transaction/AdoNetWithDistrubtedTransactionFactory.cs |
| ||||
void IEnlistmentNotification.Rollback(Enlistment enlistment) { using (new SessionIdLoggingContext(sessionImplementor.SessionId)) { sessionImplementor.AfterTransactionCompletion(false, null); logger.Debug("rolled back DTC transaction"); enlistment.Done(); IsInActiveTransaction = false; } } |
| ||||
void IEnlistmentNotification.InDoubt(Enlistment enlistment) { using (new SessionIdLoggingContext(sessionImplementor.SessionId)) { sessionImplementor.AfterTransactionCompletion(false, null); logger.Debug("DTC transaction is in doubt"); enlistment.Done(); IsInActiveTransaction = false; } } |
| |||
void IEnlistmentNotification. [[#variable2d7afe40]](Enlistment enlistment) { using (new SessionIdLoggingContext(sessionImplementor.SessionId)) { sessionImplementor.AfterTransactionCompletion(false, null); logger.Debug( [[#variable2d7afd60]]); enlistment.Done(); IsInActiveTransaction = false; } } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#2d7afe40]] | InDoubt |
1 | 2 | [[#2d7afe40]] | Rollback |
2 | 1 | [[#2d7afd60]] | "DTC transaction is in doubt" |
2 | 2 | [[#2d7afd60]] | "rolled back DTC transaction" |