Login  Register

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

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


     [ https://issues.apache.org/jira/browse/OFBIZ-3904?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Vivek Mishra updated OFBIZ-3904:
--------------------------------

    Attachment: OFBIZ-3904.patch

Here is the patch for the same.

> 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
>
>         Attachments: OFBIZ-3904.patch
>
>
> 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.