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