cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bimargul...@apache.org
Subject svn commit: r654925 - /cxf/trunk/common/common/src/main/java/org/apache/cxf/common/util/CacheMap.java
Date Fri, 09 May 2008 20:08:46 GMT
Author: bimargulies
Date: Fri May  9 13:08:46 2008
New Revision: 654925

URL: http://svn.apache.org/viewvc?rev=654925&view=rev
Log:
Add more comments.

Modified:
    cxf/trunk/common/common/src/main/java/org/apache/cxf/common/util/CacheMap.java

Modified: cxf/trunk/common/common/src/main/java/org/apache/cxf/common/util/CacheMap.java
URL: http://svn.apache.org/viewvc/cxf/trunk/common/common/src/main/java/org/apache/cxf/common/util/CacheMap.java?rev=654925&r1=654924&r2=654925&view=diff
==============================================================================
--- cxf/trunk/common/common/src/main/java/org/apache/cxf/common/util/CacheMap.java (original)
+++ cxf/trunk/common/common/src/main/java/org/apache/cxf/common/util/CacheMap.java Fri May
 9 13:08:46 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> {



Mime
View raw message