mirror of
https://github.com/corda/corda.git
synced 2025-06-13 04:38:19 +00:00
Fixes for PushbackReader (which only can push back one char) and StringReader.
This commit is contained in:
@ -15,7 +15,7 @@ public class StringReader extends Reader {
|
||||
return -1;
|
||||
}
|
||||
}
|
||||
in.getChars(position, length, b, offset);
|
||||
in.getChars(position, position+length, b, offset);
|
||||
position += length;
|
||||
return length;
|
||||
}
|
||||
|
Reference in New Issue
Block a user