hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stojce Dimski <sdmi...@yahoo.it>
Subject Re: [jira] Commented: (HTTPCORE-37) Spring integration for HttpParams
Date Thu, 01 Feb 2007 20:05:47 GMT
Hi Roland,

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

> If a parameter is defined to be of type Long, it has to be a Long even if
> the value happens to fit into an Integer. Otherwise, there will be a ClassCastException
when
> the parameter is accessed. Have a look at o.a.h.i.DefaultHttpParams#getLongParameter
to see
> what I mean.

---------------------------------------------------------------------
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