Author Login
Post Reply
Thanks for pointing out the difference between code and doc.
Some confusion while translating from german to english ;)
Jan
-----Ursprüngliche Nachricht-----
Von: Stefan Bodewig [mailto:bodewig@(protected)]
Gesendet: Freitag, 1. Februar 2008 11:19
An: dev@(protected)
Betreff: Re: svn commit: r617356 - /ant/core/trunk/src/main/org/apache/tools/ant/TaskConfigurationChecker.java
jhm@(protected):
> + /**
> + * Asserts that a condition is true.
> + * @param condition which condition to check
> + * @param errormessage errormessage to throw if a condition failed
> + */
> + public void assertConfig(boolean condition, String errormessage) {
> + if (condition) {
> + errors.add(errormessage);
> + }
> + }
You mean if (!condition), don't you?
Stefan
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@(protected)
For additional commands, e-mail: dev-help@(protected)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@(protected)
For additional commands, e-mail: dev-help@(protected)