niallp 2004/08/09 19:47:39
Modified: src/share/org/apache/struts/action DynaActionForm.java
Log:
Bug 30470 - Change Map's key from String to Object in toString()
Revision Changes Path
1.16 +5 -5
jakarta-struts/src/share/org/apache/struts/action/DynaActionForm.java
Index: DynaActionForm.java
===================================================================
RCS file:
/home/cvs/jakarta-struts/src/share/org/apache/struts/action/DynaActionForm.java,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -r1.15 -r1.16
--- DynaActionForm.java 24 Apr 2004 06:37:00 -0000 1.15
+++ DynaActionForm.java 10 Aug 2004 02:47:39 -0000 1.16
@@ -550,7 +550,7 @@
sb.append(',');
}
n++;
- String key = (String) keys.next();
+ Object key = keys.next();
sb.append(key);
sb.append('=');
sb.append(((Map) value).get(key));
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]