commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Benedikt Ritter (JIRA)" <>
Subject [jira] [Updated] (CHAIN-40) ContextBase should use LinkedHashMap
Date Thu, 04 Jul 2013 19:37:48 GMT


Benedikt Ritter updated CHAIN-40:

    Component/s: Base
> ContextBase should use LinkedHashMap
> ------------------------------------
>                 Key: CHAIN-40
>                 URL:
>             Project: Commons Chain
>          Issue Type: Improvement
>          Components: Base
>            Reporter: Cédric BODIN
>            Priority: Minor
> org.apache.commons.chain.impl.ContextBase should use java.util.LinkedHashMap (instead
of java.util.HashMap) : as its superclass,  and as the java.util.Map implementation for its
"descriptors" attribute.
> Indeed LinkedHashMap allow "insertion-order" iteration over the context, which is an
additional information about the chain execution (to know the order of the commands into the
> Moreover LinkedHashMap is a HashMap : so this enhancement is "transparent" for users
who didn't/don't/won't want to presume about context's iteration order.
> Thanks in advance.
> Cédric BODIN

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:

View raw message