> Here's a page explaining 1.4's assertions.  I highly recommend reading 
> it -- it will short-circuit a lot of the discussion that Ola's question 
> is bound to generate:
> 
>      http://java.sun.com/j2se/1.4/docs/guide/lang/assert.html

Excellent. I've just recently upgraded and haven't had the time to check the new 
features.

> The only one of the examples in Ola's message that isn't trivial with 
> 1.4's assert is "noNullElements".  If there is actually a need for 
> assert utilities, it's for deeper structural checks like that.

But for this we already have the boolean is*** methods in ArrayUtils that one can use 
in assert statements.

Case closed! I will go and read up on 1.4.

/O


--
To unsubscribe, e-mail:   <mailto:commons-dev-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:commons-dev-help@;jakarta.apache.org>

Reply via email to