mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
junit: workaround unexpected stop
This commit is contained in:
@@ -94,6 +94,7 @@ public class SegmentedInputStream extends InputStream {
|
||||
while (nextRead != ' ' && nextRead != SegmentedStream.SPECIAL_SYMBOL) {
|
||||
buffer.append((char)nextRead);
|
||||
nextRead = readNext();
|
||||
if (nextRead == -1) return new char[0];
|
||||
}
|
||||
return readNext(Integer.valueOf(buffer.toString()).intValue());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user