Author: doogie
Date: Fri Oct 19 16:09:08 2007
New Revision: 586639
URL:
http://svn.apache.org/viewvc?rev=586639&view=revLog:
Javolution is buggy; it doesn't support structural changes on sub
lists, as is required by the api.
Modified:
ofbiz/trunk/framework/base/src/base/org/ofbiz/base/util/template/FreeMarkerWorker.java
Modified: ofbiz/trunk/framework/base/src/base/org/ofbiz/base/util/template/FreeMarkerWorker.java
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/framework/base/src/base/org/ofbiz/base/util/template/FreeMarkerWorker.java?rev=586639&r1=586638&r2=586639&view=diff==============================================================================
--- ofbiz/trunk/framework/base/src/base/org/ofbiz/base/util/template/FreeMarkerWorker.java (original)
+++ ofbiz/trunk/framework/base/src/base/org/ofbiz/base/util/template/FreeMarkerWorker.java Fri Oct 19 16:09:08 2007
@@ -26,6 +26,7 @@
import java.io.Writer;
import java.net.MalformedURLException;
import java.net.URL;
+import java.util.ArrayList;
import java.util.Date;
import java.util.Iterator;
import java.util.List;
@@ -499,7 +500,7 @@
map.putAll(UtilGenerics.checkMap(o));
context.put(key, map);
} else if (o instanceof List) {
- List<Object> list = FastList.newInstance();
+ List<Object> list = new ArrayList();
list.addAll(UtilGenerics.checkList(o));
context.put(key, list);
} else {