You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2004/08/13 14:53:33 UTC

DO NOT REPLY [Bug 30650] New: - Override Object.equals() in StandardSession

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=30650>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=30650

Override Object.equals() in StandardSession

           Summary: Override Object.equals() in StandardSession
           Product: Tomcat 5
           Version: 5.0.0
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Enhancement
          Priority: Other
         Component: Servlet & JSP API
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: phps@gmx.de


Consider to override Object.equals() and Object.hashCode() in StandardSession
or rather StandardSessionFacade. Isn't it a good idea, that equals() would
return  something like: session.getId().equals(otherSession.getId()).

If its not a good idea, please add a explicit Javadoc comment that sessions are
only considered as equal if they are "reference-equal".

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org