OFBiz
  1. OFBiz
  2. OFBIZ-3904

Bug in calling methods defined in Usps Services

    Details

      Description

      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.

      1. OFBIZ-3904.patch
        18 kB
        Vivek Mishra

        Activity

        Hide
        Vivek Mishra added a comment -

        Here is the patch for the same.

        Show
        Vivek Mishra added a comment - Here is the patch for the same.
        Hide
        Ashish Vijaywargiya added a comment -

        Thanks Vivek for the contribution - committed in trunk at r990127 & ReleaseBranch 10.04 at r990130.


        Ashish

        Show
        Ashish Vijaywargiya added a comment - Thanks Vivek for the contribution - committed in trunk at r990127 & ReleaseBranch 10.04 at r990130. – Ashish
        Hide
        Vivek Mishra added a comment -

        Thanks Ashish.

        Show
        Vivek Mishra added a comment - Thanks Ashish.

          People

          • Assignee:
            Ashish Vijaywargiya
            Reporter:
            Vivek Mishra
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development