tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lu...@apache.org
Subject cvs commit: jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper/runtime JspRuntimeLibrary.java
Date Wed, 16 Oct 2002 21:54:58 GMT
luehe       2002/10/16 14:54:58

  Modified:    jasper2/src/share/org/apache/jasper/runtime
                        JspRuntimeLibrary.java
  Log:
  Output "null" instead of empty string for "null" property values in
  <jsp:getProperty>
  
  Revision  Changes    Path
  1.7       +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.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- JspRuntimeLibrary.java	9 Oct 2002 20:21:52 -0000	1.6
  +++ JspRuntimeLibrary.java	16 Oct 2002 21:54:58 -0000	1.7
  @@ -285,7 +285,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:   <mailto:tomcat-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-dev-help@jakarta.apache.org>


Mime
View raw message