tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kin...@apache.org
Subject cvs commit: jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper/compiler Generator.java
Date Tue, 23 Mar 2004 00:06:07 GMT
kinman      2004/03/22 16:06:07

  Modified:    jasper2/src/share/org/apache/jasper/compiler Generator.java
  Log:
  - Fix bugzilla 27830: undefined EL variable in unterpreted text (XML syntax)
    causes "null" (instead of) "" to be generated.
  
  Revision  Changes    Path
  1.225     +1 -1      jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper/compiler/Generator.java
  
  Index: Generator.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper/compiler/Generator.java,v
  retrieving revision 1.224
  retrieving revision 1.225
  diff -u -r1.224 -r1.225
  --- Generator.java	17 Mar 2004 19:23:03 -0000	1.224
  +++ Generator.java	23 Mar 2004 00:06:07 -0000	1.225
  @@ -1747,7 +1747,7 @@
                   out.print("=");
                   if (jspAttrs[i].isELInterpreterInput()) {
                       out.print("\\\"\" + ");
  -                    out.print(attributeValue(jspAttrs[i], false, Object.class));
  +                    out.print(attributeValue(jspAttrs[i], false, String.class));
                       out.print(" + \"\\\"");
                   } else {
                       String quote = DOUBLE_QUOTE;
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org


Mime
View raw message