You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avalon.apache.org by Marcus Crafter <cr...@fztig938.bank.dresdner.net> on 2002/02/25 20:32:39 UTC
Re: cvs commit: jakarta-avalon-excalibur/src/java/org/apache/avalon/excalibur/collections VariableSizeBuffer.java
Hi Berin,
On Mon, Feb 25, 2002 at 07:21:49PM -0000, bloritsch@apache.org wrote:
> bloritsch 02/02/25 11:21:49
>
> public final class VariableSizeBuffer implements Buffer
> @@ -79,6 +79,11 @@
> */
> public final void add( final Object o )
> {
> + if ( null == element )
> + {
> + throw new NullPointerException("Attempted to add null object to buffer");
> + }
The parameter name in this case is 'o' :)
Cheers,
Marcus
--
.....
,,$$$$$$$$$, Marcus Crafter
;$' '$$$$: Computer Systems Engineer
$: $$$$: ManageSoft GmbH
$ o_)$$$: 82-84 Mainzer Landstrasse
;$, _/\ &&:' 60327 Frankfurt Germany
' /( &&&
\_&&&&'
&&&&.
&&&&&&&:
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>