You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "Philippe Mouawad (JIRA)" <ji...@apache.org> on 2011/05/22 10:47:47 UTC

[jira] [Updated] (OFBIZ-4290) UtilCache#getPropertyParam should test property existence instead of rely on MissingResourceException

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

Philippe Mouawad updated OFBIZ-4290:
------------------------------------

    Attachment: patch-OFBIZ-4290.patch

The fix

> UtilCache#getPropertyParam should test property existence instead of rely on MissingResourceException 
> ------------------------------------------------------------------------------------------------------
>
>                 Key: OFBIZ-4290
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-4290
>             Project: OFBiz
>          Issue Type: Improvement
>          Components: framework
>    Affects Versions: SVN trunk
>            Reporter: Philippe Mouawad
>            Priority: Minor
>              Labels: performance
>         Attachments: patch-OFBIZ-4290.patch
>
>
> 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

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira