hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kalnichevski, Oleg" <oleg.kalnichev...@bearingpoint.com>
Subject RE: NameValuePair.equals
Date Mon, 08 Sep 2003 08:17:48 GMT
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:ortwin.glueck@nose.ch]
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: commons-httpclient-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-httpclient-dev-help@jakarta.apache.org


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


Mime
View raw message