Author: mrisaliti
Date: Sun Jan 30 17:43:48 2011
New Revision: 1065331
URL:
http://svn.apache.org/viewvc?rev=1065331&view=revLog:
Remove java compilation warnings of CartEventListener (OFBIZ-4102)
Modified:
ofbiz/trunk/applications/order/src/org/ofbiz/order/shoppingcart/CartEventListener.java
Modified: ofbiz/trunk/applications/order/src/org/ofbiz/order/shoppingcart/CartEventListener.java
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/order/src/org/ofbiz/order/shoppingcart/CartEventListener.java?rev=1065331&r1=1065330&r2=1065331&view=diff==============================================================================
--- ofbiz/trunk/applications/order/src/org/ofbiz/order/shoppingcart/CartEventListener.java (original)
+++ ofbiz/trunk/applications/order/src/org/ofbiz/order/shoppingcart/CartEventListener.java Sun Jan 30 17:43:48 2011
@@ -76,10 +76,10 @@ public class CartEventListener implement
}
Debug.logInfo("Saving abandoned cart", module);
- Iterator cartItems = cart.iterator();
+ Iterator<ShoppingCartItem> cartItems = cart.iterator();
int seqId = 1;
while (cartItems.hasNext()) {
- ShoppingCartItem cartItem = (ShoppingCartItem) cartItems.next();
+ ShoppingCartItem cartItem = cartItems.next();
GenericValue cartAbandonedLine = delegator.makeValue("CartAbandonedLine");
cartAbandonedLine.set("visitId", visit.get("visitId"));