--- [EMAIL PROTECTED] wrote: > markt 2004/03/14 14:35:49 > > Modified: > jasper2/src/share/org/apache/jasper/runtime Tag: > tomcat_4_branch > JspRuntimeLibrary.java > Log: > - Fix bug 18180. jsp:getProperty should return > "null" rather than "" for null objects. > - Reported by Morten P. > > Revision Changes Path > No revision > No revision > 1.1.1.1.2.3 +4 -4 > jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper/runtime/JspRuntimeLibrary.java > > Index: JspRuntimeLibrary.java > > =================================================================== > RCS file: > /home/cvs/jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper/runtime/JspRuntimeLibrary.java,v > retrieving revision 1.1.1.1.2.2 > retrieving revision 1.1.1.1.2.3 > diff -u -r1.1.1.1.2.2 -r1.1.1.1.2.3 > --- JspRuntimeLibrary.java 5 Feb 2004 22:19:08 > -0000 1.1.1.1.2.2 > +++ JspRuntimeLibrary.java 14 Mar 2004 22:35:49 > -0000 1.1.1.1.2.3 > @@ -284,7 +284,7 @@ > > //------------------------------------------------------------------- > // __begin toStringMethod > public static String toString(Object o) { > - return (o == null) ? "" : o.toString(); > + return String.valueOf(o); > } > > public static String toString(byte b) { > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: > [EMAIL PROTECTED] > For additional commands, e-mail: > [EMAIL PROTECTED] >
__________________________________ Do you Yahoo!? Yahoo! Mail - More reliable, more storage, less spam http://mail.yahoo.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]