Author: mrisaliti
Date: Fri Feb 4 21:42:56 2011
New Revision: 1067296
URL:
http://svn.apache.org/viewvc?rev=1067296&view=revLog:
Unused variable are now commented as to be fixed as suggested by Scott
Modified:
ofbiz/trunk/applications/order/src/org/ofbiz/order/shoppingcart/CheckOutEvents.java
Modified: ofbiz/trunk/applications/order/src/org/ofbiz/order/shoppingcart/CheckOutEvents.java
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/order/src/org/ofbiz/order/shoppingcart/CheckOutEvents.java?rev=1067296&r1=1067295&r2=1067296&view=diff==============================================================================
--- ofbiz/trunk/applications/order/src/org/ofbiz/order/shoppingcart/CheckOutEvents.java (original)
+++ ofbiz/trunk/applications/order/src/org/ofbiz/order/shoppingcart/CheckOutEvents.java Fri Feb 4 21:42:56 2011
@@ -264,6 +264,8 @@ public class CheckOutEvents {
}
public static String setPartialCheckOutOptions(HttpServletRequest request, HttpServletResponse response) {
+ // FIXME response need to be checked ?
+ // String resp = setCheckOutOptions(request, response);
setCheckOutOptions(request, response);
request.setAttribute("_ERROR_MESSAGE_", null);
return "success";
@@ -700,6 +702,7 @@ public class CheckOutEvents {
String isGift = null;
String internalCode = null;
String methodType = null;
+ //FIXME can be removed ?
// String singleUsePayment = null;
// String appendPayment = null;
String shipBeforeDate = null;
@@ -864,6 +867,7 @@ public class CheckOutEvents {
Debug.log("Changing mode from->to: " + mode + "->payment", module);
mode = "payment";
}
+ //FIXME can be removed ?
// singleUsePayment = request.getParameter("singleUsePayment");
// appendPayment = request.getParameter("appendPayment");
// boolean isSingleUsePayment = singleUsePayment != null && "Y".equalsIgnoreCase(singleUsePayment) ? true : false;