nicko 2004/06/01 11:26:22
Modified: src/Core LevelCollection.cs
Log:
Sealed inner classes
Revision Changes Path
1.5 +3 -3 logging-log4net/src/Core/LevelCollection.cs
Index: LevelCollection.cs
===================================================================
RCS file: /home/cvs/logging-log4net/src/Core/LevelCollection.cs,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- LevelCollection.cs 30 May 2004 11:03:25 -0000 1.4
+++ LevelCollection.cs 1 Jun 2004 18:26:22 -0000 1.5
@@ -652,7 +652,7 @@
/// <summary>
/// Supports simple iteration over a <see
cref="LevelCollection"/>.
/// </summary>
- private class Enumerator : IEnumerator,
ILevelCollectionEnumerator
+ private sealed class Enumerator : IEnumerator,
ILevelCollectionEnumerator
{
#region Implementation (data)
@@ -732,7 +732,7 @@
#region Nested Synchronized Wrapper class
- private class SyncLevelCollection : LevelCollection
+ private sealed class SyncLevelCollection : LevelCollection
{
#region Implementation (data)
private LevelCollection m_collection;
@@ -924,7 +924,7 @@
#endregion
#region Nested Read Only Wrapper class
- private class ReadOnlyLevelCollection : LevelCollection
+ private sealed class ReadOnlyLevelCollection : LevelCollection
{
#region Implementation (data)
private LevelCollection m_collection;