You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mina.apache.org by "Mike Heath (JIRA)" <ji...@apache.org> on 2008/03/07 03:36:59 UTC

[jira] Updated: (DIRMINA-534) AbstractIoSession's getId()

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

Mike Heath updated DIRMINA-534:
-------------------------------

    Fix Version/s: 2.0.0-M2

> AbstractIoSession's getId()
> ---------------------------
>
>                 Key: DIRMINA-534
>                 URL: https://issues.apache.org/jira/browse/DIRMINA-534
>             Project: MINA
>          Issue Type: Improvement
>    Affects Versions: 2.0.0-M2
>            Reporter: Roger Kapsi
>            Priority: Minor
>             Fix For: 2.0.0-M2
>
>
> I would use System.identityHashCode(this) instead of hashCode() in AbstractIoSession.getId() and you'd have to no longer override equals & hashCode() (I assume that's the reason why both methods are overridden & final).

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