File tree Expand file tree Collapse file tree 1 file changed +9
-9
lines changed Open diff view settings
Expand file tree Collapse file tree 1 file changed +9
-9
lines changed Open diff view settings
Original file line number Diff line number Diff line change @@ -36,16 +36,16 @@ of this software and associated documentation files (the "Software"), to deal
3636 * it. It is used by the JSONObject and JSONArray constructors to parse
3737 * JSON source strings.
3838 * @author JSON.org
39- * @version 2011-11-24
39+ * @version 2012-02-16
4040 */
4141public class JSONTokener {
4242
43- private int character ;
43+ private long character ;
4444 private boolean eof ;
45- private int index ;
46- private int line ;
47- private char previous ;
48- private final Reader reader ;
45+ private long index ;
46+ private long line ;
47+ private char previous ;
48+ private Reader reader ;
4949 private boolean usePrevious ;
5050
5151
@@ -400,9 +400,9 @@ public Object nextValue() throws JSONException {
400400 public char skipTo (char to ) throws JSONException {
401401 char c ;
402402 try {
403- int startIndex = this .index ;
404- int startCharacter = this .character ;
405- int startLine = this .line ;
403+ long startIndex = this .index ;
404+ long startCharacter = this .character ;
405+ long startLine = this .line ;
406406 this .reader .mark (1000000 );
407407 do {
408408 c = this .next ();
You can’t perform that action at this time.
0 commit comments