Author: jleroux
Date: Thu Nov 9 13:33:31 2006
New Revision: 473078
URL:
http://svn.apache.org/viewvc?view=rev&rev=473078Log:
A patch from Jean-Sébastien Hederer correcting "Static access to variables" (
https://issues.apache.org/jira/browse/OFBIZ-440)
Thanks Jean-Sébastien
Modified:
incubator/ofbiz/trunk/applications/accounting/src/org/ofbiz/accounting/thirdparty/authorizedotnet/AIMPaymentServices.java
incubator/ofbiz/trunk/applications/accounting/src/org/ofbiz/accounting/thirdparty/authorizedotnet/AuthorizeResponse.java
Modified: incubator/ofbiz/trunk/applications/accounting/src/org/ofbiz/accounting/thirdparty/authorizedotnet/AIMPaymentServices.java
URL:
http://svn.apache.org/viewvc/incubator/ofbiz/trunk/applications/accounting/src/org/ofbiz/accounting/thirdparty/authorizedotnet/AIMPaymentServices.java?view=diff&rev=473078&r1=473077&r2=473078==============================================================================
--- incubator/ofbiz/trunk/applications/accounting/src/org/ofbiz/accounting/thirdparty/authorizedotnet/AIMPaymentServices.java (original)
+++ incubator/ofbiz/trunk/applications/accounting/src/org/ofbiz/accounting/thirdparty/authorizedotnet/AIMPaymentServices.java Thu Nov 9 13:33:31 2006
@@ -223,7 +223,7 @@
AuthorizeResponse ar = new AuthorizeResponse(httpResponse);
String resp = ar.getResponseCode();
- if (resp.equals(ar.APPROVED)) {
+ if (resp.equals(AuthorizeResponse.APPROVED)) {
result.put("authResult", new Boolean(true));
} else {
result.put("authResult", new Boolean(false));
Modified: incubator/ofbiz/trunk/applications/accounting/src/org/ofbiz/accounting/thirdparty/authorizedotnet/AuthorizeResponse.java
URL:
http://svn.apache.org/viewvc/incubator/ofbiz/trunk/applications/accounting/src/org/ofbiz/accounting/thirdparty/authorizedotnet/AuthorizeResponse.java?view=diff&rev=473078&r1=473077&r2=473078==============================================================================
--- incubator/ofbiz/trunk/applications/accounting/src/org/ofbiz/accounting/thirdparty/authorizedotnet/AuthorizeResponse.java (original)
+++ incubator/ofbiz/trunk/applications/accounting/src/org/ofbiz/accounting/thirdparty/authorizedotnet/AuthorizeResponse.java Thu Nov 9 13:33:31 2006
@@ -135,7 +135,7 @@
if (this.version.equals("3.0"))
{
- if (posNum == this.CID_RESPONSE_CODE)
+ if (posNum == CID_RESPONSE_CODE)
return "M";
}
if(posNum < 1 || posNum > maxPos) {