In Java land, it is pretty much a convention to never return null in place of an empty list. If anything, we should be returning a modifable list instead of EMPTY_LIST.
Gili Nick Heudecker wrote:
I agree that checking for null is a pain, but I'm not sure that just returning an empty list is much of an improvement. It's also possible that the best way to fix this is to just update the documentation.
-- http://www.desktopbeautifier.com/ ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Wicket-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/wicket-user
