cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From anto...@apache.org
Subject svn commit: r453851 - in /cocoon: branches/BRANCH_2_1_X/status.xml trunk/blocks/cocoon-forms/cocoon-forms-impl/src/main/java/org/apache/cocoon/forms/datatype/convertor/BeanConvertor.java
Date Sat, 07 Oct 2006 06:03:49 GMT
Author: antonio
Date: Fri Oct  6 23:03:49 2006
New Revision: 453851

URL: http://svn.apache.org/viewvc?view=rev&rev=453851
Log:

<action dev="AG" type="fix" fixes-bug="COCOON-1867" due-to="Gabriele Columbro" due-to-email="columbro@gmail.com">
  Cforms: BeanConvertor uses a WeakHashMap in the wrong way.
</action>

Modified:
    cocoon/branches/BRANCH_2_1_X/status.xml
    cocoon/trunk/blocks/cocoon-forms/cocoon-forms-impl/src/main/java/org/apache/cocoon/forms/datatype/convertor/BeanConvertor.java

Modified: cocoon/branches/BRANCH_2_1_X/status.xml
URL: http://svn.apache.org/viewvc/cocoon/branches/BRANCH_2_1_X/status.xml?view=diff&rev=453851&r1=453850&r2=453851
==============================================================================
--- cocoon/branches/BRANCH_2_1_X/status.xml (original)
+++ cocoon/branches/BRANCH_2_1_X/status.xml Fri Oct  6 23:03:49 2006
@@ -184,6 +184,9 @@
   <release version="@version@" date="@date@">
 -->
   <release version="2.1.10" date="TBD">
+    <action dev="AG" type="fix" fixes-bug="COCOON-1867" due-to="Gabriele Columbro" due-to-email="columbro@gmail.com">
+      Cforms: BeanConvertor uses a WeakHashMap in the wrong way.
+    </action>
     <action dev="AG" type="fix" due-to="Christofer Dutz" due-to-email="christofer.dutz@univativ.de">
       AJAX: Fix cocoon suggest sample.
     </action>

Modified: cocoon/trunk/blocks/cocoon-forms/cocoon-forms-impl/src/main/java/org/apache/cocoon/forms/datatype/convertor/BeanConvertor.java
URL: http://svn.apache.org/viewvc/cocoon/trunk/blocks/cocoon-forms/cocoon-forms-impl/src/main/java/org/apache/cocoon/forms/datatype/convertor/BeanConvertor.java?view=diff&rev=453851&r1=453850&r2=453851
==============================================================================
--- cocoon/trunk/blocks/cocoon-forms/cocoon-forms-impl/src/main/java/org/apache/cocoon/forms/datatype/convertor/BeanConvertor.java
(original)
+++ cocoon/trunk/blocks/cocoon-forms/cocoon-forms-impl/src/main/java/org/apache/cocoon/forms/datatype/convertor/BeanConvertor.java
Fri Oct  6 23:03:49 2006
@@ -17,6 +17,7 @@
 package org.apache.cocoon.forms.datatype.convertor;
 
 import org.apache.avalon.framework.CascadingRuntimeException;
+import org.apache.commons.collections.map.ReferenceMap;
 import org.apache.commons.jxpath.JXPathContext;
 
 import org.xml.sax.ContentHandler;
@@ -24,8 +25,6 @@
 
 import java.util.Locale;
 import java.util.Map;
-import java.util.WeakHashMap;
-
 
 /**
  * Converts String representation of beans to bean instances and vice versa.
@@ -46,7 +45,7 @@
 
     private Class m_class;
 
-    private Map m_objects = new WeakHashMap(  );
+    private Map m_objects = new ReferenceMap();
 
     private String m_idPath;
 



Mime
View raw message