tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ma...@apache.org
Subject svn commit: r1033042 - in /tomcat/trunk/java/org/apache: catalina/manager/JspHelper.java jasper/tagplugins/jstl/Util.java
Date Tue, 09 Nov 2010 15:53:17 GMT
Author: markt
Date: Tue Nov  9 15:53:16 2010
New Revision: 1033042

URL: http://svn.apache.org/viewvc?rev=1033042&view=rev
Log:
Suppress warnings

Modified:
    tomcat/trunk/java/org/apache/catalina/manager/JspHelper.java
    tomcat/trunk/java/org/apache/jasper/tagplugins/jstl/Util.java

Modified: tomcat/trunk/java/org/apache/catalina/manager/JspHelper.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/catalina/manager/JspHelper.java?rev=1033042&r1=1033041&r2=1033042&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/catalina/manager/JspHelper.java (original)
+++ tomcat/trunk/java/org/apache/catalina/manager/JspHelper.java Tue Nov  9 15:53:16 2010
@@ -195,6 +195,7 @@ public class JspHelper {
      *
      * See also OutSupport.writeEscapedXml().
      */
+    @SuppressWarnings("null") // escapedBuffer cannot be null
     public static String escapeXml(String buffer) {
         if (buffer == null) {
             return "";

Modified: tomcat/trunk/java/org/apache/jasper/tagplugins/jstl/Util.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/jasper/tagplugins/jstl/Util.java?rev=1033042&r1=1033041&r2=1033042&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/jasper/tagplugins/jstl/Util.java (original)
+++ tomcat/trunk/java/org/apache/jasper/tagplugins/jstl/Util.java Tue Nov  9 15:53:16 2010
@@ -178,6 +178,7 @@ public class Util {
      * 
      * taken from org.apache.taglibs.standard.tag.common.core.Util
      */
+    @SuppressWarnings("null") // escapedBuffer cannot be null
     public static String escapeXml(String buffer) {
         int start = 0;
         int length = buffer.length();



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


Mime
View raw message