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=35365>. 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=35365 ------- Additional Comments From [EMAIL PROTECTED] 2005-06-15 19:40 ------- You're tough. I went over my patch with a fine-toothed comb before I submitted it, and you still found good points to discuss. Another argument for the case-sensitive version of the equals check - it seems odd to me to have NTCredentials change the treatment of UsernamePasswordCredentials from case-sensitive to case-insensitive. Different point: UsernamePasswordCredentials upc = new UsernamePasswordCredentials("n", "p"); NTCredentials ntc = new NTCredentials("n", "p", "h", "d"); using the above, you get the following with my patch: upc.equals(ntc) --> true ntc.equals(upc) --> false. What's the best way to work around this? Changing the test in UsernamePasswordCredentials.equals(), so that it does o.getClass() == this.getClass() would work, but is that the best way? -- 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]
