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:32:05 UTC

cvs commit: logging-log4net/src NDC.cs

nicko       2004/06/02 08:32:05

  Modified:    src      NDC.cs
  Log:
  Removed unused internal method Peek from NDC
  
  Revision  Changes    Path
  1.5       +0 -14     logging-log4net/src/NDC.cs
  
  Index: NDC.cs
  ===================================================================
  RCS file: /home/cvs/logging-log4net/src/NDC.cs,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- NDC.cs	30 May 2004 11:30:14 -0000	1.4
  +++ NDC.cs	2 Jun 2004 15:32:05 -0000	1.5
  @@ -251,20 +251,6 @@
   			return null;
   		}
     
  -		/// <summary>
  -		/// Peeks at the message on the top of the context stack.
  -		/// </summary>
  -		/// <returns>The message on the top of the stack.</returns>
  -		internal static string Peek() 
  -		{
  -			Stack stack = GetStack();
  -			if (stack.Count > 0)
  -			{
  -				return ((DiagnosticContext)(stack.Peek())).Message;
  -			}
  -			return "";
  -		}
  - 
   		#endregion Internal Static Methods
   
   		#region Private Static Methods