You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by ma...@apache.org on 2018/12/13 20:53:19 UTC

svn commit: r1848893 - /tomcat/trunk/java/org/apache/jasper/compiler/SmapUtil.java

Author: markt
Date: Thu Dec 13 20:53:19 2018
New Revision: 1848893

URL: http://svn.apache.org/viewvc?rev=1848893&view=rev
Log:
Fix an IDE nag
(only fix one to trigger a CI build)

Modified:
    tomcat/trunk/java/org/apache/jasper/compiler/SmapUtil.java

Modified: tomcat/trunk/java/org/apache/jasper/compiler/SmapUtil.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/jasper/compiler/SmapUtil.java?rev=1848893&r1=1848892&r2=1848893&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/jasper/compiler/SmapUtil.java (original)
+++ tomcat/trunk/java/org/apache/jasper/compiler/SmapUtil.java Thu Dec 13 20:53:19 2018
@@ -211,7 +211,8 @@ public class SmapUtil {
             byte[] bytes = new byte[len];
             try (FileInputStream inStream = new FileInputStream(input)) {
                 if (inStream.read(bytes, 0, len) != len) {
-                    throw new IOException(Localizer.getMessage("jsp.error.readContent", len));
+                    throw new IOException(Localizer.getMessage(
+                            "jsp.error.readContent", Integer.valueOf(len)));
                 }
             }
             return bytes;



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