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:[EMAIL PROTECTED] 
Gesendet: Freitag, 1. Februar 2008 11:19
An: dev@ant.apache.org
Betreff: Re: svn commit: r617356 - 
/ant/core/trunk/src/main/org/apache/tools/ant/TaskConfigurationChecker.java

[EMAIL PROTECTED] writes:

> +    /**
> +     * 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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to