Author: jleroux
Date: Wed Dec 19 08:17:21 2007
New Revision: 605603

URL: http://svn.apache.org/viewvc?rev=605603&view=rev
Log:
equalsIgnoreCase in place of original equals

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=605603&r1=605602&r2=605603&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
 Wed Dec 19 08:17:21 2007
@@ -368,16 +368,7 @@
     }
 
     private static boolean isTestMode() {
-        boolean ret = true;
-        String testReq = (String)AIMProperties.get("testReq");
-        if(testReq != null) {
-            if(testReq.toUpperCase().equals("TRUE")) {
-                ret = true;
-            } else {
-                ret = false;
-            }
-        }
-        return ret;
+        return "true".equalsIgnoreCase((String)AIMProperties.get("testReq"));
     }
 
     private static String getVersion() {


Reply via email to