You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by Christopher Lenz <cm...@gmx.de> on 2002/08/30 13:47:30 UTC
[collections] Why does ArrayStack refuse null elements
Hi all,
why does ArrayStack refuse to push null elements on the stack (it throws
a NPE)? If there is a good reason, it should be documented. I can't see
a good reason however, but probably I'm missing something ;o)
--
Christopher Lenz
/=/ cmlenz at gmx.de
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
Re: [collections] Why does ArrayStack refuse null elements
Posted by Stephen Colebourne <sc...@btopenworld.com>.
The checking that was in ArrayStack was insufficient anyway (you could get
around it). I've enabled nulls to be added to ArrayStack now.
Stephen
----- Original Message -----
From: "Christopher Lenz" <cm...@gmx.de>
> why does ArrayStack refuse to push null elements on the stack (it throws
> a NPE)? If there is a good reason, it should be documented. I can't see
> a good reason however, but probably I'm missing something ;o)
>
> --
> Christopher Lenz
> /=/ cmlenz at gmx.de
>
>
> --
> To unsubscribe, e-mail:
<ma...@jakarta.apache.org>
> For additional commands, e-mail:
<ma...@jakarta.apache.org>
>
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>