[jira] [Commented] (OFBIZ-6651) Remove deprecated methods from GenericValue class

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Commented] (OFBIZ-6651) Remove deprecated methods from GenericValue class

Nicolas Malin (Jira)

    [ https://issues.apache.org/jira/browse/OFBIZ-6651?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14904128#comment-14904128 ]

Jacques Le Roux commented on OFBIZ-6651:
----------------------------------------

Hi Martin,

Did not see your comments (Jira should push updates when you have the issue opened), but that's actually what I did at r1704769. It's more complicated for getRelated (980 occurences) and getRelatedOne (726 occurences). I did it by hand yesterday after OFBIZ-6276, that gave me some thoughts...

> Remove deprecated methods from GenericValue class
> -------------------------------------------------
>
>                 Key: OFBIZ-6651
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-6651
>             Project: OFBiz
>          Issue Type: Task
>          Components: ALL COMPONENTS
>    Affects Versions: Trunk
>            Reporter: Jacques Le Roux
>            Assignee: Jacques Le Roux
>            Priority: Minor
>             Fix For: Upcoming Branch
>
>
> Strategy:
> # Using an IDE replace the deprecated methods in Java code (but not in GenericValue class)
> # Before removing the deprecated methods from GenericValue class, place
> {code}
> Debug.logWarning("deprecated 'methodName', please replace them, see OFBIZ-6651", new Exception());
> {code}
> in them. On the long run, this will allow to spot where these methods are used in templates and scripts and replace them



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)