This commit is contained in:
redkale
2024-10-09 23:18:31 +08:00
parent 227e94b546
commit 1bcc35cbcf
2 changed files with 12 additions and 12 deletions

View File

@@ -162,7 +162,7 @@ public class JsonReader extends Reader {
*/
protected char nextChar() {
int p = ++this.position;
if (p >= limit) {
if (p > limit) {
return 0;
}
return this.text[p];