But it looks to me like you have null values embedded in the inputs.

I think the same would happen if you called Arrays.sort and some of the
objects in the array being sorted were null.

Why do you think that non-nullity of the top level arguments is all that
matters?

On Tue, Aug 17, 2010 at 1:30 PM, Ted Dunning <ted.dunn...@gmail.com> wrote:

> The 10 tests presented in the attachments violates one of the common Java
> code practices (at least in my viewpoint):
> if all the inputs are not null, there should not be null pointer exception
> thrown.
>

Reply via email to