On Tue, Jul 17, 2012 at 06:13:17PM +0300, ori ziv wrote:
> Don't you the following as disadvantages of the Preconditions way ?
> * It forces you to write "p >= 0 && p <= 1" anytime. even it is a
> trivial condition, you might mistake and get the inequality sign in
> the wrong way, or forget the equals sign.

That's a good point.

> * You are depended on guava, and I guess you can't do that on
> functions inside the CM.

Indeed, at this point, CM has no dependencies.


Regards,
Gilles

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
For additional commands, e-mail: dev-h...@commons.apache.org

Reply via email to