commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nia...@apache.org
Subject svn commit: r640132 - /commons/proper/beanutils/trunk/src/test/org/apache/commons/beanutils/memoryleaktests/MemoryLeakTestCase.java
Date Sun, 23 Mar 2008 02:15:43 GMT
Author: niallp
Date: Sat Mar 22 19:15:42 2008
New Revision: 640132

URL: http://svn.apache.org/viewvc?rev=640132&view=rev
Log:
Woops - forgot to commit test case changes

Modified:
    commons/proper/beanutils/trunk/src/test/org/apache/commons/beanutils/memoryleaktests/MemoryLeakTestCase.java

Modified: commons/proper/beanutils/trunk/src/test/org/apache/commons/beanutils/memoryleaktests/MemoryLeakTestCase.java
URL: http://svn.apache.org/viewvc/commons/proper/beanutils/trunk/src/test/org/apache/commons/beanutils/memoryleaktests/MemoryLeakTestCase.java?rev=640132&r1=640131&r2=640132&view=diff
==============================================================================
--- commons/proper/beanutils/trunk/src/test/org/apache/commons/beanutils/memoryleaktests/MemoryLeakTestCase.java
(original)
+++ commons/proper/beanutils/trunk/src/test/org/apache/commons/beanutils/memoryleaktests/MemoryLeakTestCase.java
Sat Mar 22 19:15:42 2008
@@ -30,7 +30,7 @@
 import org.apache.commons.beanutils.PropertyUtils;
 import org.apache.commons.beanutils.WrapDynaBean;
 import org.apache.commons.beanutils.WrapDynaClass;
-import org.apache.commons.beanutils.converters.NumberConverter;
+import org.apache.commons.beanutils.converters.IntegerConverter;
 import org.apache.commons.beanutils.locale.LocaleBeanUtilsBean;
 import org.apache.commons.beanutils.locale.LocaleConvertUtils;
 import org.apache.commons.beanutils.locale.converters.IntegerLocaleConverter;
@@ -266,7 +266,7 @@
 
         // if you comment the following two lines, the testcase will work, and the ClassLoader
will be released.
         // That proves that nothing is wrong with the test, and ConvertUtilsBean is holding
a reference
-        ConvertUtils.register(new NumberConverter(beanClass, false), beanClass);
+        ConvertUtils.register(new IntegerConverter(), beanClass);
         assertEquals("12345", ConvertUtils.convert(bean, String.class));
 
         // this should make the reference go away.



Mime
View raw message