[jboss-dev] metadata empty lists are now null

Thomas Diesler thomas.diesler at jboss.com
Fri Oct 12 09:54:51 EDT 2007


ServletMetaData.getInitParam() used to return an empty list. It now
returns null.

Is this by design and now the responsibility of the client to check for
null list? I personally prefer an API to return empty lists instead of
null.

cheers
-thomas

-- 
xxxxxxxxxxxxxxxxxxxxxxxxxxxx
Thomas Diesler
Web Service Lead
JBoss, a division of Red Hat
xxxxxxxxxxxxxxxxxxxxxxxxxxxx






More information about the jboss-development mailing list