You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "Jacques Le Roux (JIRA)" <ji...@apache.org> on 2014/04/23 09:32:14 UTC

[jira] [Updated] (OFBIZ-5325) Deprecate doCacheClear in Delegator interface and class and related minilang classes

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

Jacques Le Roux updated OFBIZ-5325:
-----------------------------------

    Component/s: ALL COMPONENTS

> Deprecate doCacheClear in Delegator interface and class and related minilang classes
> ------------------------------------------------------------------------------------
>
>                 Key: OFBIZ-5325
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-5325
>             Project: OFBiz
>          Issue Type: Improvement
>          Components: ALL COMPONENTS, framework
>    Affects Versions: Release Branch 11.04, SVN trunk, Release Branch 12.04, Release Branch 13.07
>            Reporter: Jacques Le Roux
>            Assignee: Jacques Le Roux
>            Priority: Minor
>
> At http://svn.apache.org/viewvc?view=revision&revision=r1476296 Adrian noted: 
> {quote}
> I updated the Delegator JavaDocs to warn against skipping the cache clearing step - which shouldn't be done
> {quote}
> After I proposed to rather refactor it, Paul Foxworthy suggested:
> {quote}
> If doCacheClear will have no effect, I suggest deprecating the method
> signature with the doCacheClear. It can call another overloaded variant
> without that parameter. All calls in trunk should be changed to the second.
> We can leave the deprecated version for backwards compatibility for a time.
> I agree in the release branches that all we should do is add some JavaDoc
> and log a warning.
> {quote}
> I agree with Paul, and here is how I will do it:
> # Deprecate in trunk
> # Backport in releases
> # Remove useless deprecated in trunk



--
This message was sent by Atlassian JIRA
(v6.2#6252)