So ant is supposed to be compilable with 1.1? If that is the case then the
jikes patch just sent in will also have a problem.
-- Glen
"Andrew B. Sudell" <[EMAIL PROTECTED]> on 14/07/2000 01:06:11 PM
Please respond to [EMAIL PROTECTED]; Please respond to Drew Sudell
<[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
cc: (bcc: Glen Stampoultzis/ITD/MEL/Ansett/AU)
Subject: Minor JDK 1.1 nit
This always catches me, too. JDK 1.1 only has addElement, but
add seems so much more natural to say.
Index: src/main/org/apache/tools/ant/taskdefs/AntStructure.java
===================================================================
RCS file:
/home/cvspublic/jakarta-ant/src/main/org/apache/tools/ant/taskdefs/AntStructure.java,v
retrieving revision 1.1
diff -u -r1.1 AntStructure.java
--- src/main/org/apache/tools/ant/taskdefs/AntStructure.java 2000/07/12
14:19:52 1.1
+++ src/main/org/apache/tools/ant/taskdefs/AntStructure.java 2000/07/14
02:59:10
@@ -108,7 +108,7 @@
Enumeration enum = project.getTaskDefinitions().keys();
while (enum.hasMoreElements()) {
String taskName = (String) enum.nextElement();
- tasks.add(taskName);
+ tasks.addElement(taskName);
}
printTargetDecl(out, tasks);
--
Drew Sudell [EMAIL PROTECTED] http://www.op.net/~asudell
_____________________________________________________________________
CAUTION - This message may contain privileged and confidential
information intended only for the use of the addressee named above.
If you are not the intended recipient of this message you are hereby
notified that any use, dissemination, distribution or reproduction
of this message is prohibited. If you have received this message in
error please notify Ansett Australia immediately. Any views expressed
in this message are those of the individual sender and may not
necessarily reflect the views of Ansett Australia.
ABN Ansett Australia Ltd 37 004 209 410
ABN Ansett International Ltd 72 060 622 460
_____________________________________________________________________