We have a number of places where API methods which are specified to return a
Collection can also return a null value.  This causes the caller to have to
write additional unnecessary code to first check for null before using the
return value.

I'd like us to forbid this practice and require all methods which are
specified to return a Collection be required to return an empty collection
instead of a null.  Unless there objections, I'm going to start by changing
any methods in the Model subsystem which exhibit this behavior.

Tom

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to