Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit d98dc0b

Browse filesBrowse files
long
1 parent 92038ce commit d98dc0b
Copy full SHA for d98dc0b

File tree

Expand file treeCollapse file tree

1 file changed

+9
-9
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

1 file changed

+9
-9
lines changed
Open diff view settings
Collapse file

‎JSONTokener.java‎

Copy file name to clipboard
100755100644
Expand all lines: JSONTokener.java
+9-9Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff 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
*/
4141
public 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();

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.