svn commit: r1081099 - /ofbiz/trunk/specialpurpose/pos/src/org/ofbiz/pos/event/PaymentEvents.java

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

svn commit: r1081099 - /ofbiz/trunk/specialpurpose/pos/src/org/ofbiz/pos/event/PaymentEvents.java

mrisaliti
Author: mrisaliti
Date: Sun Mar 13 12:43:16 2011
New Revision: 1081099

URL: http://svn.apache.org/viewvc?rev=1081099&view=rev
Log:
Remove some warning in pos component (OFBIZ-4102)

Modified:
    ofbiz/trunk/specialpurpose/pos/src/org/ofbiz/pos/event/PaymentEvents.java

Modified: ofbiz/trunk/specialpurpose/pos/src/org/ofbiz/pos/event/PaymentEvents.java
URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/pos/src/org/ofbiz/pos/event/PaymentEvents.java?rev=1081099&r1=1081098&r2=1081099&view=diff
==============================================================================
--- ofbiz/trunk/specialpurpose/pos/src/org/ofbiz/pos/event/PaymentEvents.java (original)
+++ ofbiz/trunk/specialpurpose/pos/src/org/ofbiz/pos/event/PaymentEvents.java Sun Mar 13 12:43:16 2011
@@ -210,8 +210,10 @@ public class PaymentEvents {
                 switch (allInfo) {
                     case 4:
                         lastName = msrInfoArr[3];
+                        break;
                     case 3:
                         firstName = msrInfoArr[2];
+                        break;
                     case 2: // card number & exp date found
                         BigDecimal amount = BigDecimal.ZERO;
                         try {