ofbiz-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Brohl (JIRA)" <j...@apache.org>
Subject [jira] [Closed] (OFBIZ-9393) UtilMisc.toMap(), toList() and toSet() refactoring taking Varargs for creating the wanted data structure
Date Thu, 29 Jun 2017 16:06:00 GMT

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

Michael Brohl closed OFBIZ-9393.
--------------------------------
       Resolution: Implemented
    Fix Version/s: Upcoming Release

Thanks Martin,

your patch is in trunk at r1800299.

> UtilMisc.toMap(), toList() and toSet() refactoring taking Varargs for creating the wanted
data structure
> --------------------------------------------------------------------------------------------------------
>
>                 Key: OFBIZ-9393
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-9393
>             Project: OFBiz
>          Issue Type: Improvement
>          Components: framework
>    Affects Versions: Trunk
>            Reporter: Martin Becker
>            Assignee: Michael Brohl
>            Priority: Trivial
>             Fix For: Upcoming Release
>
>         Attachments: OFBIZ-9393_UtilMiscOverloadedRefactoring.patch
>
>
> This patch removes a number of outdated methods that took a fixed number of objects to
create a data structure, such as a linked list. Since the code is outdated and inflexible,
this patch removes these methods and added methods to create the given data structure via
a variable amount of arguments. This approach also ensures that no other code needs a refactoring.
In addition the method populateMap() was removed which was private and was only used by the
multiple outdated toMap() functions.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message