You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by st...@apache.org on 2005/03/10 16:15:26 UTC
cvs commit: ant/proposal/xdocs/src/org/apache/ant/xdoclet TaskTagsHandler.java
stevel 2005/03/10 07:15:26
Modified: proposal/xdocs/src/org/apache/ant/xdoclet
TaskTagsHandler.java
Log:
java1.5 patch
Revision Changes Path
1.4 +8 -8 ant/proposal/xdocs/src/org/apache/ant/xdoclet/TaskTagsHandler.java
Index: TaskTagsHandler.java
===================================================================
RCS file: /home/cvs/ant/proposal/xdocs/src/org/apache/ant/xdoclet/TaskTagsHandler.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- TaskTagsHandler.java 9 Mar 2004 16:47:58 -0000 1.3
+++ TaskTagsHandler.java 10 Mar 2005 15:15:26 -0000 1.4
@@ -372,8 +372,8 @@
}
if (instance != null && instance instanceof EnumeratedAttribute) {
- EnumeratedAttribute enum = (EnumeratedAttribute) instance;
- String[] values = enum.getValues();
+ EnumeratedAttribute enum1 = (EnumeratedAttribute) instance;
+ String[] values = enum1.getValues();
display = "";
for (int i = 0; i < values.length; i++) {
@@ -538,11 +538,11 @@
// Regroup the attributes, since IntrospectionHelper
// doesn't give us the whole data structure directly
- Enumeration enum = is.getAttributes();
+ Enumeration enum2 = is.getAttributes();
Properties attributeTypeMap = new Properties();
- while (enum.hasMoreElements()) {
- String name = (String) enum.nextElement();
+ while (enum2.hasMoreElements()) {
+ String name = (String) enum2.nextElement();
Class type = is.getAttributeType(name);
attributeTypeMap.setProperty(name, type.getName());
@@ -625,11 +625,11 @@
// Regroup the elements, since IntrospectionHelper
// doesn't give us the whole data structure directly
- Enumeration enum = is.getNestedElements();
+ Enumeration enum3 = is.getNestedElements();
Properties elementTypeMap = new Properties();
- while (enum.hasMoreElements()) {
- String name = (String) enum.nextElement();
+ while (enum3.hasMoreElements()) {
+ String name = (String) enum3.nextElement();
Class type = is.getElementType(name);
elementTypeMap.setProperty(name, type.getName());
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org