You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-issues@jackrabbit.apache.org by "Julian Reschke (Jira)" <ji...@apache.org> on 2025/01/16 13:45:00 UTC

[jira] [Updated] (OAK-11312) Refactor CollectionUtils

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

Julian Reschke updated OAK-11312:
---------------------------------
    Priority: Blocker  (was: Major)

> Refactor CollectionUtils
> ------------------------
>
>                 Key: OAK-11312
>                 URL: https://issues.apache.org/jira/browse/OAK-11312
>             Project: Jackrabbit Oak
>          Issue Type: Improvement
>          Components: commons
>            Reporter: Julian Reschke
>            Assignee: Julian Reschke
>            Priority: Blocker
>             Fix For: 1.76.0
>
>
> While working on OAK-10685, it occured to me that refactoring/splitting {{CollectionUtils}} might make the usage slightly more readable.
> In particular:
>  # Split {{CollectionUtils}} into classes for each collection type (List/Set/Map..)
>  # Rename "{{toXxx(...)}}" to "{{from(...)}}"
> For instance
> {{CollectionUtils.toSet(xyz)}}
> would become
> {{SetUtils.from(xyz)}}
> [~baedke] , [~daim] -wdyt?



--
This message was sent by Atlassian Jira
(v8.20.10#820010)