hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Roland Weber <http-as...@dubioso.net>
Subject Re: [jira] Commented: (HTTPCORE-37) Spring integration for HttpParams
Date Fri, 02 Feb 2007 15:37:09 GMT
Hi Stojce,

> Do you see something wrong with promoting the Integer to Long in
> 'o.a.h.i.DefaultHttpParams#getLongParameter' ?

Yes I do. The whole point of storing objects rather than for example
strings is that we do NOT have to do run-time type conversions. And
instanceof checks are expensive.

cheers,
  Roland


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


Mime
View raw message