You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by jl...@apache.org on 2009/10/30 11:55:23 UTC
svn commit: r831259 -
/ofbiz/trunk/specialpurpose/pos/src/org/ofbiz/pos/device/impl/Receipt.java
Author: jleroux
Date: Fri Oct 30 10:55:22 2009
New Revision: 831259
URL: http://svn.apache.org/viewvc?rev=831259&view=rev
Log:
Following Scott's fix in r831246. Weird because this was compiling in Eclipse, so I did not notice my bad.
Modified:
ofbiz/trunk/specialpurpose/pos/src/org/ofbiz/pos/device/impl/Receipt.java
Modified: ofbiz/trunk/specialpurpose/pos/src/org/ofbiz/pos/device/impl/Receipt.java
URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/pos/src/org/ofbiz/pos/device/impl/Receipt.java?rev=831259&r1=831258&r2=831259&view=diff
==============================================================================
--- ofbiz/trunk/specialpurpose/pos/src/org/ofbiz/pos/device/impl/Receipt.java (original)
+++ ofbiz/trunk/specialpurpose/pos/src/org/ofbiz/pos/device/impl/Receipt.java Fri Oct 30 10:55:22 2009
@@ -25,6 +25,7 @@
import java.math.BigDecimal;
import java.net.URL;
import java.text.SimpleDateFormat;
+import java.util.ArrayList;
import java.util.Date;
import java.util.HashMap;
import java.util.Map;
@@ -394,7 +395,7 @@
}
if (trans.isAggregatedItem(((String)expandMap.get("productId")).trim())) {
- List<Map<String, Object>> maps = trans.getItemConfigInfo(i);
+ List<Map<String, Object>> maps = new ArrayList<Map<String, Object>>();
for (Map map: maps) {
expandMap = this.makeCodeExpandMap(trans, type);
expandMap.putAll(map);