[slf4j-dev] svn commit: r872 - slf4j/trunk/slf4j-api/src/main/java/org/slf4j

ceki at slf4j.org ceki at slf4j.org
Mon Aug 20 21:34:51 CEST 2007


Author: ceki
Date: Mon Aug 20 21:34:51 2007
New Revision: 872

Modified:
   slf4j/trunk/slf4j-api/src/main/java/org/slf4j/MDC.java

Log:
The "remove" method does nothing if there is no previous value 
associated with the 'key' parameter.

Modified: slf4j/trunk/slf4j-api/src/main/java/org/slf4j/MDC.java
==============================================================================
--- slf4j/trunk/slf4j-api/src/main/java/org/slf4j/MDC.java	(original)
+++ slf4j/trunk/slf4j-api/src/main/java/org/slf4j/MDC.java	Mon Aug 20 21:34:51 2007
@@ -130,7 +130,8 @@
   /**
    * Remove the the context identified by the <code>key</code> parameter using
    * the underlying system's MDC implementation. The  <code>key</code> parameter 
-   * cannot be null.
+   * cannot be null. This method does nothing if there is no previous value 
+   * associated with <code>key</code>.
    * 
    * @throws IllegalArgumentException in case the "key" parameter is null
    */



More information about the slf4j-dev mailing list