1
0
Fork 0
mirror of https://github.com/ethauvin/JSON-java.git synced 2025-06-17 07:50:52 -07:00

added complete tests

This commit is contained in:
guywithnose 2012-01-30 10:15:05 -05:00
parent fd0d1156d4
commit 48dccd91e7
20 changed files with 8871 additions and 935 deletions

View file

@ -403,7 +403,7 @@ public class JSONTokener {
int startIndex = this.index;
int startCharacter = this.character;
int startLine = this.line;
this.reader.mark(Integer.MAX_VALUE);
this.reader.mark(1000000);
do {
c = this.next();
if (c == 0) {
@ -443,4 +443,4 @@ public class JSONTokener {
return " at " + this.index + " [character " + this.character + " line " +
this.line + "]";
}
}
}