commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Simone Tripodi (Commented) (JIRA)" <>
Subject [jira] [Commented] (CHAIN-58) Update Chain Context interface to use K,V generics
Date Mon, 28 Nov 2011 20:33:40 GMT


Simone Tripodi commented on CHAIN-58:

Hi Elijah,
I think that we are on the right path but there are still some limitations, having a {{Context<String,
Object>}}, as we discussed in the ML, wouldn't fit all the use cases.
I suggest moving on an implementation with generified key/value, having a {{Context<K,
V>}}, would be more adaptable, as suggested also by Niall in the ML.
> Update Chain Context interface to use K,V generics
> --------------------------------------------------
>                 Key: CHAIN-58
>                 URL:
>             Project: Commons Chain
>          Issue Type: Improvement
>    Affects Versions: 2.0
>            Reporter: Elijah Zupancic
>             Fix For: 2.0
>         Attachments: chain-58.diff
> As discussed in the mailing list, I am suggesting that we change the definition of Context
> {noformat}
> public interface Context extends Map<String, Object> {
> {noformat}
> to:
> {noformat}
> public interface Context<K, V> extends Map<K, V> {
> {noformat}

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


View raw message