geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ga...@apache.org
Subject svn commit: r1432979 - /geronimo/external/trunk/tomcat-parent-7.0.27/jasper/src/main/java/org/apache/jasper/runtime/JspWriterImpl.java
Date Mon, 14 Jan 2013 16:30:33 GMT
Author: gawor
Date: Mon Jan 14 16:30:33 2013
New Revision: 1432979

URL: http://svn.apache.org/viewvc?rev=1432979&view=rev
Log:
NPE in BodyContentImpl - https://issues.apache.org/bugzilla/show_bug.cgi?id=54241

Modified:
    geronimo/external/trunk/tomcat-parent-7.0.27/jasper/src/main/java/org/apache/jasper/runtime/JspWriterImpl.java

Modified: geronimo/external/trunk/tomcat-parent-7.0.27/jasper/src/main/java/org/apache/jasper/runtime/JspWriterImpl.java
URL: http://svn.apache.org/viewvc/geronimo/external/trunk/tomcat-parent-7.0.27/jasper/src/main/java/org/apache/jasper/runtime/JspWriterImpl.java?rev=1432979&r1=1432978&r2=1432979&view=diff
==============================================================================
--- geronimo/external/trunk/tomcat-parent-7.0.27/jasper/src/main/java/org/apache/jasper/runtime/JspWriterImpl.java
(original)
+++ geronimo/external/trunk/tomcat-parent-7.0.27/jasper/src/main/java/org/apache/jasper/runtime/JspWriterImpl.java
Mon Jan 14 16:30:33 2013
@@ -339,21 +339,6 @@ public class JspWriterImpl extends JspWr
         }
     }
     
-    /**
-     * Write a string.  This method cannot be inherited from the Writer class
-     * because it must suppress I/O exceptions.
-     */
-    @Override
-    public void write(String s) throws IOException {
-        // Simple fix for Bugzilla 35410
-        // Calling the other write function so as to init the buffer anyways
-        if(s == null) {
-            write(s, 0, 0);
-        } else {
-            write(s, 0, s.length());
-        }
-    }
-    
     
     static String lineSeparator = System.getProperty("line.separator");
     



Mime
View raw message