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


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