I believe it's a bug because it doesn't do what the user reasonably expects and it's not covered in the javadoc. 

On 9/15/05, Johan Compagner < [EMAIL PROTECTED]> wrote:
why would that a bug?
it is just a check that getList() never returns null.



On 9/15/05, Nick Heudecker <[EMAIL PROTECTED] > wrote:
This looks like a bug to me.

        public final List getList()
        {
                final List list = (List)getModelObject();
                if (list == null)
                {
                        return Collections.EMPTY_LIST;
                }
                return list;
        }

The problem is if the model list is null, the Collections.EMPTY_LIST is returned but it's never set as the model object.


Reply via email to