提交 979413fb authored 作者: Thomas Mueller's avatar Thomas Mueller

Formatting.

上级 245b567d
......@@ -239,9 +239,10 @@ public class ScriptReader {
if (keep + Constants.IO_BUFFER_SIZE > src.length) {
// protect against NegativeArraySizeException
if (src.length >= Integer.MAX_VALUE / 2) {
throw new IOException("error in parsing script, statement size exceeds 1G, " +
"first 80 characters of statement looks like: " +
new String(buffer,bufferStart,80));
throw new IOException("Error in parsing script, " +
"statement size exceeds 1G, " +
"first 80 characters of statement looks like: " +
new String(buffer, bufferStart, 80));
}
buffer = new char[src.length * 2];
}
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论