[jira] [Commented] (OFBIZ-10354) Generalize `toMap` to abitrary key types

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

[jira] [Commented] (OFBIZ-10354) Generalize `toMap` to abitrary key types

Nicolas Malin (Jira)

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

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

By and large, this might help https://cwiki.apache.org/confluence/display/OFBIZ/OFBiz+Contributors+Best+Practices

> Generalize `toMap` to abitrary key types
> ----------------------------------------
>
>                 Key: OFBIZ-10354
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-10354
>             Project: OFBiz
>          Issue Type: Improvement
>          Components: framework
>    Affects Versions: Trunk
>            Reporter: Mathieu Lirzin
>            Assignee: Jacques Le Roux
>            Priority: Minor
>             Fix For: Upcoming Branch
>
>         Attachments: 0001-improved-Generalize-toMap-to-abitrary-key-types.patch
>
>
> The `toMap` static method doesn't use its 'K' generic type in its implementation.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)