DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=35097>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=35097 Summary: [Digester][PATCH] Obtaining String class in CallMethodRule Product: Commons Version: 1.6 Final Platform: Other OS/Version: other Status: NEW Severity: trivial Priority: P2 Component: Digester AssignedTo: commons-dev@jakarta.apache.org ReportedBy: [EMAIL PROTECTED] Recent musings on the CallMethodRule code brought to my notice an interesting construct for obtaining the String class ;-) Inlining a patch, since its trivial: Index: CallMethodRule.java =================================================================== RCS file: /usr/local/cvsroot/apache/patches/commons-digester-1.6- src/src/java/org/apache/commons/digester/CallMethodRule.java,v retrieving revision 1.1 diff -c -r1.1 CallMethodRule.java *** CallMethodRule.java 27 May 2005 02:52:14 -0000 1.2 --- CallMethodRule.java 27 May 2005 03:21:23 -0000 *************** 262c262 < this.paramTypes[i] = "abc".getClass(); --- > this.paramTypes[i] = String.class; 330c330 < this.paramTypes[i] = "abc".getClass(); --- > this.paramTypes[i] = String.class; 503c503 < paramTypes[0] = "abc".getClass(); --- > paramTypes[0] = String.class; -Rahul -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]