ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ddevie...@apache.org
Subject svn commit: r289247 - /ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/MacroDef.java
Date Thu, 15 Sep 2005 14:36:00 GMT
Author: ddevienne
Date: Thu Sep 15 07:35:58 2005
New Revision: 289247

URL: http://svn.apache.org/viewcvs?rev=289247&view=rev
Log:
Apparently equals() is not used much, 'cause I broke it and all tests passed... --DD

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

Modified: ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/MacroDef.java
URL: http://svn.apache.org/viewcvs/ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/MacroDef.java?rev=289247&r1=289246&r2=289247&view=diff
==============================================================================
--- ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/MacroDef.java (original)
+++ ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/MacroDef.java Thu Sep 15 07:35:58
2005
@@ -345,7 +345,6 @@
 
         helper.addDataTypeDefinition(def);
         log("creating macro  " + name,Project.MSG_VERBOSE);
-
     }
 
     /**
@@ -413,7 +412,7 @@
               return true;
             }
             if (obj != null && obj.getClass().equals(getClass())) {
-              equals((Member) obj);
+              return equals((Member) obj);
             }
             return false;
         }
@@ -481,7 +480,7 @@
     /**
      * A nested define element for the MacroDef task.
      *
-     * It provides an attribute with a guatanteed unique value
+     * It provides an attribute with a guaranteed unique value
      * on every instantiation of the macro. This allows to use
      * this uniquely named attribute in property names used
      * internally by the macro, thus creating unique property



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


Mime
View raw message