OFBiz
  1. OFBiz
  2. OFBIZ-4290

UtilCache#getPropertyParam should test property existence instead of rely on MissingResourceException

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: Trunk
    • Fix Version/s: Trunk
    • Component/s: framework
    • Labels:

      Description

      Hello,
      UtilCache#getPropertyParam should call res.containsKey instead of relying on catching MissingResourceException, which will reduce number of Exceptions created so CPU.

      Regards
      Philippe
      http://www.ubik-ingenierie.com

      1. patch-OFBIZ-4290.patch
        1.0 kB
        Philippe Mouawad

        Activity

          People

          • Assignee:
            Jacques Le Roux
            Reporter:
            Philippe Mouawad
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development