Login  Register

[jira] Created: (OFBIZ-3904) Bug in calling methods defined in Usps Services

Posted by Nicolas Malin (Jira) on Aug 27, 2010; 11:24am
URL: http://ofbiz.116.s1.nabble.com/jira-Created-OFBIZ-3904-Bug-in-calling-methods-defined-in-Usps-Services-tp2340936.html

Bug in calling methods defined in Usps Services
-----------------------------------------------

                 Key: OFBIZ-3904
                 URL: https://issues.apache.org/jira/browse/OFBIZ-3904
             Project: OFBiz
          Issue Type: Bug
          Components: product
            Reporter: Vivek Mishra
             Fix For: Release Branch 10.04, SVN trunk


Calling "getPackageSplit" & "calcPackageWeight" methods from outside of the class causes compilation error, as their access modifiers are private.
So fixing this bug, following points are covered in this commit.

1) Moving "getPackageSplit" and "calcPackageWeight" from UspsServices.java to ShipmentWorker.java. They are not Usps third party related methods.
2) Changing access modifiers of these methods to public.

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.