svn commit: r563412 - /ofbiz/trunk/specialpurpose/oagis/src/org/ofbiz/oagis/OagisShipmentServices.java

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

svn commit: r563412 - /ofbiz/trunk/specialpurpose/oagis/src/org/ofbiz/oagis/OagisShipmentServices.java

apatel-2
Author: apatel
Date: Tue Aug  7 00:37:18 2007
New Revision: 563412

URL: http://svn.apache.org/viewvc?view=rev&rev=563412
Log:
also campare with lower case strings, just to get effect of ingnore case.

Modified:
    ofbiz/trunk/specialpurpose/oagis/src/org/ofbiz/oagis/OagisShipmentServices.java

Modified: ofbiz/trunk/specialpurpose/oagis/src/org/ofbiz/oagis/OagisShipmentServices.java
URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/oagis/src/org/ofbiz/oagis/OagisShipmentServices.java?view=diff&rev=563412&r1=563411&r2=563412
==============================================================================
--- ofbiz/trunk/specialpurpose/oagis/src/org/ofbiz/oagis/OagisShipmentServices.java (original)
+++ ofbiz/trunk/specialpurpose/oagis/src/org/ofbiz/oagis/OagisShipmentServices.java Tue Aug  7 00:37:18 2007
@@ -196,9 +196,9 @@
             String carrierCode = UtilXml.childElementValue(shipUnitElement, "of:CARRIER"); // of
             if(UtilValidate.isNotEmpty(carrierCode)){
                 String carrierPartyId = null;
-                if( carrierCode.startsWith("F")) {                
+                if( carrierCode.startsWith("F") || carrierCode.startsWith("f")) {                
                     carrierPartyId = "FEDEX";                                          
-                } else if(carrierCode.startsWith("U")) {
+                } else if(carrierCode.startsWith("U")|| carrierCode.startsWith("u")) {
                     carrierPartyId = "UPS";                                            
                 }
                 try {