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

Emmanuel Lecharny updated DIRMINA-787:
--------------------------------------

    Fix Version/s: 2.0.2

> AttributeKey needs either a better documenation or a more intuitive behaviour
> -----------------------------------------------------------------------------
>
>                 Key: DIRMINA-787
>                 URL: https://issues.apache.org/jira/browse/DIRMINA-787
>             Project: MINA
>          Issue Type: Improvement
>    Affects Versions: 2.0.0-RC1
>            Reporter: Steve Ulrich
>            Priority: Minor
>             Fix For: 2.0.2
>
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> The AttributeKey class seems like a good idea to use as a key in a Map. But 
> if you try to use different instances with the same values (e.g. 
> MyObject.class, "context") , you can't access the same attribute.
> So either document this behaviour (I'm using it some years now and noticed it 
> while writing a testclass now), or implement hashCode() and equals()-Methods 
> to find AttributeKeys with the same values.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to