Fixed a minor checkstyle warning

This commit is contained in:
Jestan Nirojan 2012-05-26 15:46:48 +05:30
parent 326b88c430
commit 5538de9a42

View File

@ -195,7 +195,7 @@ public class ChannelBufferInputStream extends InputStream implements DataInput {
lineBuf.append((char) b); lineBuf.append((char) b);
} }
if (lineBuf.length() > 0 ) { if (lineBuf.length() > 0) {
while (lineBuf.charAt(lineBuf.length() - 1) == '\r') { while (lineBuf.charAt(lineBuf.length() - 1) == '\r') {
lineBuf.setLength(lineBuf.length() - 1); lineBuf.setLength(lineBuf.length() - 1);
} }