commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Emmanuel Bourg <sma...@lfjr.net>
Subject Re: [CONFIGURATION] Semantics change in 1.0-rc1
Date Fri, 27 Aug 2004 09:51:27 GMT
Henning P. Schmiedehausen wrote:

> Please no, no method signature change.

Sorry I wasn't clear enough, that's not what I suggested. The idea is to 
add a setThrowExceptionOnMissingProperties(boolean) method to change the 
behavior, it would be false by default.


> But we should definitely let the get<xxx> methods return null.

Not every getter return null if the property doesn't exist, getList() 
returns an empty list and getStringArray() returns en empty array. It's 
more useful than a null value imho.

Emmanuel Bourg

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