Uploaded image for project: 'OFBiz'
  1. OFBiz
  2. OFBIZ-9450 Fixing defects reported by code analysis tools
  3. OFBIZ-9786

[FB] Package org.apache.ofbiz.product.subscription

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Closed
    • Minor
    • Resolution: Implemented
    • Trunk
    • 17.12.01
    • product
    • None

    Description

      SubscriptionServices.java:357, DM_BOXED_PRIMITIVE_FOR_PARSING

      • Bx: Boxing/unboxing to parse a primitive org.apache.ofbiz.product.subscription.SubscriptionServices.runServiceOnSubscriptionExpiry(DispatchContext, Map)

      A boxed primitive is created from a String, just to extract the unboxed primitive value. It is more efficient to just call the static parseXXX method.

      Attachments

        Activity

          People

            mbrohl Michael Brohl
            jleichert Julian Leichert
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: