commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Simone Tripodi (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CHAIN-58) Update Chain Context interface to use K,V generics
Date Mon, 19 Sep 2011 08:20:09 GMT

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

Simone Tripodi commented on CHAIN-58:
-------------------------------------

hi Elijah,
I like the approach, sounds to be the candidate to be applied.
After added generics type to {{Context}}, I'd say that {{Context#retrieve(String K)}} is absolutely
useless.
Can you provide a new patch dropping that method? Many thanks in advance!

> Update Chain Context interface to use K,V generics
> --------------------------------------------------
>
>                 Key: CHAIN-58
>                 URL: https://issues.apache.org/jira/browse/CHAIN-58
>             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
from:
> {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.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message