svn commit: r827896 - /ofbiz/trunk/specialpurpose/pos/src/org/ofbiz/pos/screen/ClientProfile.java

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

svn commit: r827896 - /ofbiz/trunk/specialpurpose/pos/src/org/ofbiz/pos/screen/ClientProfile.java

jleroux@apache.org
Author: jleroux
Date: Wed Oct 21 06:14:58 2009
New Revision: 827896

URL: http://svn.apache.org/viewvc?rev=827896&view=rev
Log:
Just figured it's easier to read from start to end

Modified:
    ofbiz/trunk/specialpurpose/pos/src/org/ofbiz/pos/screen/ClientProfile.java

Modified: ofbiz/trunk/specialpurpose/pos/src/org/ofbiz/pos/screen/ClientProfile.java
URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/pos/src/org/ofbiz/pos/screen/ClientProfile.java?rev=827896&r1=827895&r2=827896&view=diff
==============================================================================
--- ofbiz/trunk/specialpurpose/pos/src/org/ofbiz/pos/screen/ClientProfile.java (original)
+++ ofbiz/trunk/specialpurpose/pos/src/org/ofbiz/pos/screen/ClientProfile.java Wed Oct 21 06:14:58 2009
@@ -215,7 +215,7 @@
         } else {
             String card = m_cardEdit.getText();
             if (SWIP_WITH_CARD && UtilValidate.isNotEmpty(m_cardEdit.getText())
-                    && (card.endsWith("&") && card.startsWith(";"))) {
+                    && (card.startsWith(";") && card.endsWith("&"))) {
                 m_cardEdit.setText(card.substring(1, card.length() - 1));                
             }
         }