polishing

This commit is contained in:
eeichinger
2009-06-24 16:43:02 +00:00
parent 6ee64f4776
commit c1ae441b71
2 changed files with 9 additions and 3 deletions

View File

@@ -35,15 +35,16 @@ namespace Spring.Data.Core
/// <author>Mark Pollack (.NET)</author>
public class TxScopeTransactionManager : AbstractPlatformTransactionManager, IInitializingObject
{
private ITransactionScopeAdapter txAdapter;
private readonly ITransactionScopeAdapter txAdapter;
/// <summary>
/// Initializes a new instance of the <see cref="TxScopeTransactionManager"/> class.
/// </summary>
public TxScopeTransactionManager()
{
// noop
}
/// <summary>
/// Initializes a new instance of the <see cref="TxScopeTransactionManager"/> class.
/// </summary>

View File

@@ -129,10 +129,15 @@ namespace Spring.Transaction.Support
#region Logging Definition
[NonSerialized()] protected ILog log = LogManager.GetLogger(typeof (AbstractPlatformTransactionManager));
[NonSerialized()] protected readonly ILog log;
#endregion
protected AbstractPlatformTransactionManager()
{
log = LogManager.GetLogger(this.GetType());
}
#endregion
#region Public Properties