commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 27747] - [configuration] ClassCastException not thrown by getBoolean()
Date Tue, 15 Jun 2004 16:10:58 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=27747>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=27747

[configuration] ClassCastException not thrown by getBoolean()





------- Additional Comments From smanux@lfjr.net  2004-06-15 16:10 -------
Oops I meant I'm NOT sure to like this, it looks more convenient to return an
empty List IMHO. Maybe we could remove the NoSuchElementException for non
primitive types ? This would make the API easier to use by removing a try/catch
block or a 'defaultValue' parameter.

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


Mime
View raw message