[prev in list] [next in list] [prev in thread] [next in thread]
List: log4net-dev
Subject: cvs commit: logging-log4net/src/Core Level.cs
From: nicko () apache ! org
Date: 2004-06-02 15:37:17
Message-ID: 20040602153717.40864.qmail () minotaur ! apache ! org
[Download RAW message or body]
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
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic