You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4net-dev@logging.apache.org by ni...@apache.org on 2004/06/02 17:37:17 UTC
cvs commit: logging-log4net/src/Core Level.cs
nicko 2004/06/02 08:37:17
Modified: src/Core Level.cs
Log:
Marked private fields as readonly as the Level is immutable
Revision Changes Path
1.4 +2 -2 logging-log4net/src/Core/Level.cs
Index: Level.cs
===================================================================
RCS file: /home/cvs/logging-log4net/src/Core/Level.cs,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- Level.cs 23 Feb 2004 03:18:03 -0000 1.3
+++ Level.cs 2 Jun 2004 15:37:17 -0000 1.4
@@ -451,8 +451,8 @@
#region Private Instance Fields
- private int m_level;
- private string m_levelStr;
+ private readonly int m_level;
+ private readonly string m_levelStr;
#endregion Private Instance Fields