Author: adamw
Date: 2008-10-23 03:48:17 -0400 (Thu, 23 Oct 2008)
New Revision: 184
Modified:
trunk/src/main/org/jboss/envers/tools/reflection/ReflectionTools.java
Log:
Reflection cache fix
Modified: trunk/src/main/org/jboss/envers/tools/reflection/ReflectionTools.java
===================================================================
--- trunk/src/main/org/jboss/envers/tools/reflection/ReflectionTools.java 2008-10-21
17:45:56 UTC (rev 183)
+++ trunk/src/main/org/jboss/envers/tools/reflection/ReflectionTools.java 2008-10-23
07:48:17 UTC (rev 184)
@@ -41,11 +41,11 @@
private static final Map<Pair<Class, String>, Getter> getterCache =
new ConcurrentReferenceHashMap<Pair<Class, String>, Getter>(10,
ConcurrentReferenceHashMap.ReferenceType.SOFT,
- ConcurrentReferenceHashMap.ReferenceType.STRONG);
+ ConcurrentReferenceHashMap.ReferenceType.SOFT);
private static final Map<Pair<Class, String>, Setter> setterCache =
new ConcurrentReferenceHashMap<Pair<Class, String>, Setter>(10,
ConcurrentReferenceHashMap.ReferenceType.SOFT,
- ConcurrentReferenceHashMap.ReferenceType.STRONG);
+ ConcurrentReferenceHashMap.ReferenceType.SOFT);
private static final PropertyAccessor BASIC_PROPERTY_ACCESSOR = new
BasicPropertyAccessor();
Show replies by date