Author: jleroux
Date: Tue Dec 18 03:45:00 2007
New Revision: 605189
URL:
http://svn.apache.org/viewvc?rev=605189&view=revLog:
Refactored previous commit 605187 from BJ Freeman "Allows better testing of testmode from propties file of authorize.net" (
https://issues.apache.org/jira/browse/OFBIZ-1450) - OFBIZ-1450
using right coding conventions
Modified:
ofbiz/branches/release4.0/applications/accounting/src/org/ofbiz/accounting/thirdparty/authorizedotnet/AIMPaymentServices.java
Modified: ofbiz/branches/release4.0/applications/accounting/src/org/ofbiz/accounting/thirdparty/authorizedotnet/AIMPaymentServices.java
URL:
http://svn.apache.org/viewvc/ofbiz/branches/release4.0/applications/accounting/src/org/ofbiz/accounting/thirdparty/authorizedotnet/AIMPaymentServices.java?rev=605189&r1=605188&r2=605189&view=diff==============================================================================
--- ofbiz/branches/release4.0/applications/accounting/src/org/ofbiz/accounting/thirdparty/authorizedotnet/AIMPaymentServices.java (original)
+++ ofbiz/branches/release4.0/applications/accounting/src/org/ofbiz/accounting/thirdparty/authorizedotnet/AIMPaymentServices.java Tue Dec 18 03:45:00 2007
@@ -371,10 +371,11 @@
boolean ret = true;
String testReq = (String)AIMProperties.get("testReq");
if(testReq != null) {
- if(testReq.toUpperCase().equals("TRUE"))
+ if(testReq.toUpperCase().equals("TRUE")) {
ret = true;
- else
+ } else {
ret = false;
+ }
}
return ret;
}