(char[] cbuf, int off, int len)
| 50 | } |
| 51 | |
| 52 | @Override |
| 53 | public int read(char[] cbuf, int off, int len) throws IOException { |
| 54 | checkNotNull(cbuf); |
| 55 | if (current == null) { |
| 56 | return -1; |
| 57 | } |
| 58 | int result = current.read(cbuf, off, len); |
| 59 | if (result == -1) { |
| 60 | advance(); |
| 61 | return read(cbuf, off, len); |
| 62 | } |
| 63 | return result; |
| 64 | } |
| 65 | |
| 66 | @Override |
| 67 | public long skip(long n) throws IOException { |
nothing calls this directly
no test coverage detected