You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cxf.apache.org by dk...@apache.org on 2008/05/12 21:11:18 UTC

svn commit: r655604 - in /cxf/branches/2.0.x-fixes: ./ common/common/src/main/java/org/apache/cxf/common/util/CacheMap.java

Author: dkulp
Date: Mon May 12 12:11:18 2008
New Revision: 655604

URL: http://svn.apache.org/viewvc?rev=655604&view=rev
Log:
Merged revisions 654925 via svnmerge from 
https://svn.apache.org/repos/asf/cxf/trunk

........
  r654925 | bimargulies | 2008-05-09 16:08:46 -0400 (Fri, 09 May 2008) | 2 lines
  
  Add more comments.
........

Modified:
    cxf/branches/2.0.x-fixes/   (props changed)
    cxf/branches/2.0.x-fixes/common/common/src/main/java/org/apache/cxf/common/util/CacheMap.java

Propchange: cxf/branches/2.0.x-fixes/
------------------------------------------------------------------------------
Binary property 'svnmerge-integrated' - no diff available.

Modified: cxf/branches/2.0.x-fixes/common/common/src/main/java/org/apache/cxf/common/util/CacheMap.java
URL: http://svn.apache.org/viewvc/cxf/branches/2.0.x-fixes/common/common/src/main/java/org/apache/cxf/common/util/CacheMap.java?rev=655604&r1=655603&r2=655604&view=diff
==============================================================================
--- cxf/branches/2.0.x-fixes/common/common/src/main/java/org/apache/cxf/common/util/CacheMap.java (original)
+++ cxf/branches/2.0.x-fixes/common/common/src/main/java/org/apache/cxf/common/util/CacheMap.java Mon May 12 12:11:18 2008
@@ -37,7 +37,9 @@
  * may reference the data keep the data in the cache.
  *
  * <b>
- * Note that this implementation is not synchronized.
+ * Note that this implementation is not synchronized. Not even a little. 
+ * 'Read-only' operations can trigger internal modifications. If you share this 
+ * class between threads, you must protect every operation.
  * </b>
  */
 public class CacheMap<K, V> implements Map<K, V> {