mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
IDEA-78632 (IDEA 11 REGRESSION: CVS update truncates last line's EOL)
This commit is contained in:
@@ -76,6 +76,10 @@ public class LineReader {
|
||||
@Nullable
|
||||
public byte[] readLine() throws IOException {
|
||||
if (myBytesBuffered == -1) {
|
||||
if (myLastEol != 0) {
|
||||
myLastEol = 0;
|
||||
return getLineArray();
|
||||
}
|
||||
return null;
|
||||
} else if (myPosition >= myBytesBuffered) {
|
||||
fillBuffer();
|
||||
|
||||
Reference in New Issue
Block a user