ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <Jan.Mate...@rzf.fin-nrw.de>
Subject AW: svn commit: r617356 - /ant/core/trunk/src/main/org/apache/tools/ant/TaskConfigurationChecker.java
Date Fri, 01 Feb 2008 10:52:28 GMT
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@apache.org] 
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

jhm@apache.org 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: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message