mirror of
https://github.com/corda/corda.git
synced 2025-01-07 13:38:47 +00:00
Fixed incorrect handling of \r\n
This commit is contained in:
parent
fb3a23f02d
commit
6ea444f6bf
@ -46,8 +46,7 @@ public class BufferedReader extends Reader {
|
||||
sb.append(buffer, position, i - position);
|
||||
position = i + 1;
|
||||
if(i+1 < limit && buffer[i+1] == '\n') {
|
||||
position = i + 1;
|
||||
return sb.toString();
|
||||
position = i + 2;
|
||||
}
|
||||
return sb.toString();
|
||||
} else if (buffer[i] == '\n') {
|
||||
|
Loading…
Reference in New Issue
Block a user