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> {