hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eric Johnson <e...@tibco.com>
Subject HostConfiguration.equals() is synchronized - why is that?
Date Wed, 15 Jun 2005 17:50:42 GMT
As I was doing the changes to the Credentials implementations for
equals, I noticed that HostConfiguration.equals() is synchronized.  This
isn't particularly an issue, except that hashCode() is not
synchronized.  Seems like it should be both or neither.

Scanning the code, I couldn't see any place that HttpClient uses the
synchronization internally.  Anyone know why this is the way it is?

-Eric.

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


Mime
View raw message