This particular code and the accompaning test predates The Trojan War and the Fall of 
Troy. If the test case does not make sense, let's change it as well.

Oleg

-----Original Message-----
From: Ortwin Glück [mailto:[EMAIL PROTECTED]
Sent: Monday, September 08, 2003 10:14
To: Commons HttpClient Project
Subject: Re: NameValuePair.equals




Kalnichevski, Oleg wrote:

> This bit defintely needs to be rewritten. Odi, can you take care of it?
> 
> Oleg

Just tried that. It breaks the TestHeader#testNotEqualToNVP case. Why is 
it required that equals returns false if the classes do not match 
exactly? I thinks this is a weird behaviour for an equals method and 
should clearly be changed.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to