Fixed a minor checkstyle warning
This commit is contained in:
parent
326b88c430
commit
5538de9a42
@ -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);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user