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 18:20:46 UTC

cvs commit: logging-log4net/src/Repository/Hierarchy LoggerKey.cs

nicko       2004/06/02 09:20:46

  Modified:    src/Repository/Hierarchy LoggerKey.cs
  Log:
  Removed unused internal property Value. Marked private fields as readonly as LoggerKey is immutable.
  
  Revision  Changes    Path
  1.3       +2 -17     logging-log4net/src/Repository/Hierarchy/LoggerKey.cs
  
  Index: LoggerKey.cs
  ===================================================================
  RCS file: /home/cvs/logging-log4net/src/Repository/Hierarchy/LoggerKey.cs,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- LoggerKey.cs	16 Feb 2004 02:10:54 -0000	1.2
  +++ LoggerKey.cs	2 Jun 2004 16:20:46 -0000	1.3
  @@ -47,21 +47,6 @@
   
   		#endregion Internal Instance Constructors
   
  -		#region Internal Instance Properties
  -
  -		/// <summary>
  -		/// Gets the name of the logger.
  -		/// </summary>
  -		/// <value>
  -		/// The name of the logger.
  -		/// </value>
  -		internal string Value
  -		{
  -			get { return m_name; }
  -		}
  -
  -		#endregion Internal Instance Properties
  -
   		#region Override implementation of Object
   
   		/// <summary>
  @@ -102,8 +87,8 @@
   
   		#region Private Instance Fields
   
  -		private string m_name;  
  -		private int m_hashCache;
  +		private readonly string m_name;  
  +		private readonly int m_hashCache;
   
   		#endregion Private Instance Fields
   	}