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/12 21:18:43 UTC
svn commit: r1848797 -
/tomcat/trunk/java/org/apache/tomcat/util/buf/ByteChunk.java
Author: markt
Date: Wed Dec 12 21:18:43 2018
New Revision: 1848797
URL: http://svn.apache.org/viewvc?rev=1848797&view=rev
Log:
Fix an IDE nag
(only fix one to trigger a CI build)
Modified:
tomcat/trunk/java/org/apache/tomcat/util/buf/ByteChunk.java
Modified: tomcat/trunk/java/org/apache/tomcat/util/buf/ByteChunk.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/tomcat/util/buf/ByteChunk.java?rev=1848797&r1=1848796&r2=1848797&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/tomcat/util/buf/ByteChunk.java (original)
+++ tomcat/trunk/java/org/apache/tomcat/util/buf/ByteChunk.java Wed Dec 12 21:18:43 2018
@@ -512,7 +512,8 @@ public final class ByteChunk extends Abs
public void flushBuffer() throws IOException {
// assert out!=null
if (out == null) {
- throw new IOException(sm.getString("chunk.overflow", getLimit(), buff.length));
+ throw new IOException(sm.getString(
+ "chunk.overflow", Integer.valueOf(getLimit()), Integer.valueOf(buff.length)));
}
out.realWriteBytes(buff, start, end - start);
end = start;
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org