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=41900>. 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=41900 Summary: wrong implementation of SlidePrincipal.equals method Product: Slide Version: 2.1 Platform: Other URL: http://auk.tomsk.ru OS/Version: All Status: NEW Keywords: PatchAvailable Severity: normal Priority: P2 Component: Core AssignedTo: slide-dev@jakarta.apache.org ReportedBy: [EMAIL PROTECTED] dear developers! with this implementation of equal method some code (who expects equal(Object) method) doesn't work correctly. Example: Map map = new HashMap(); map.put(new SlidePrincipal("test"), null); and call map.contains(new SlidePrincipal("test")); returns false. Could you add something like: public boolean equals(Object data) { if (data instanceof SlidePrincipal) return equals((SlidePrincipal) data); return false; } Thanks in advance! Alexey A. Ukhov startext GmbH -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]