ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From j..@apache.org
Subject svn commit: r617470 - /ant/core/trunk/src/main/org/apache/tools/ant/TaskConfigurationChecker.java
Date Fri, 01 Feb 2008 10:54:47 GMT
Author: jhm
Date: Fri Feb  1 02:54:44 2008
New Revision: 617470

URL: http://svn.apache.org/viewvc?rev=617470&view=rev
Log:
Make code following the documentation.

Modified:
    ant/core/trunk/src/main/org/apache/tools/ant/TaskConfigurationChecker.java

Modified: ant/core/trunk/src/main/org/apache/tools/ant/TaskConfigurationChecker.java
URL: http://svn.apache.org/viewvc/ant/core/trunk/src/main/org/apache/tools/ant/TaskConfigurationChecker.java?rev=617470&r1=617469&r2=617470&view=diff
==============================================================================
--- ant/core/trunk/src/main/org/apache/tools/ant/TaskConfigurationChecker.java (original)
+++ ant/core/trunk/src/main/org/apache/tools/ant/TaskConfigurationChecker.java Fri Feb  1
02:54:44 2008
@@ -75,7 +75,7 @@
      * @param errormessage  errormessage to throw if a condition failed
      */
     public void assertConfig(boolean condition, String errormessage) {
-        if (condition) {
+        if (!condition) {
             errors.add(errormessage);
         }
     }



Mime
View raw message