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

ceki at slf4j.org ceki at slf4j.org
Mon Aug 20 21:36:42 CEST 2007


Author: ceki
Date: Mon Aug 20 21:36:42 2007
New Revision: 873

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

Log:
MDCAdapter.remove method does nothing if there is no previous value 
associated with 'key'.

Modified: slf4j/trunk/slf4j-api/src/main/java/org/slf4j/spi/MDCAdapter.java
==============================================================================
--- slf4j/trunk/slf4j-api/src/main/java/org/slf4j/spi/MDCAdapter.java	(original)
+++ slf4j/trunk/slf4j-api/src/main/java/org/slf4j/spi/MDCAdapter.java	Mon Aug 20 21:36:42 2007
@@ -30,7 +30,11 @@
 
   /**
    * Remove the the context identified by the <code>key</code> parameter. 
-   * The <code>key</code> parameter cannot be null.
+   * The <code>key</code> parameter cannot be null. 
+   * 
+   * <p>
+   * This method does nothing if there is no previous value 
+   * associated with <code>key</code>.
    */
   public void remove(String key);
 



More information about the slf4j-dev mailing list