From faa4b712e302aa0c45b519e5377a9a2a5574d201 Mon Sep 17 00:00:00 2001 From: "Redhuan D. Oon" Date: Thu, 20 Nov 2008 05:56:43 +0000 Subject: [PATCH] Parameterizing --- .../src/main/servlet/org/compiere/wstore/PriceList.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/serverApps/src/main/servlet/org/compiere/wstore/PriceList.java b/serverApps/src/main/servlet/org/compiere/wstore/PriceList.java index ba0ab6ef79..21747a7170 100644 --- a/serverApps/src/main/servlet/org/compiere/wstore/PriceList.java +++ b/serverApps/src/main/servlet/org/compiere/wstore/PriceList.java @@ -80,7 +80,7 @@ public class PriceList String key = String.valueOf(AD_Client_ID) + "_" + M_PriceList_ID; PriceList retValue = null; if (search == null && M_Product_Category_ID == 0 && allRecords) - retValue = (PriceList)s_cache.get(key); + retValue = s_cache.get(key); // create New if (retValue == null) @@ -375,7 +375,7 @@ public class PriceList * Get Prices * @return Price Array List */ - public ArrayList getPrices() + public ArrayList getPrices() { return m_prices; } // getPrices @@ -390,7 +390,7 @@ public class PriceList { for (int i = 0; i < m_prices.size (); i++) { - PriceListProduct plp = (PriceListProduct)m_prices.get (i); + PriceListProduct plp = m_prices.get (i); if (plp.getId () == M_Product_ID) return plp; }