mirror of
https://github.com/stleary/JSON-java.git
synced 2026-01-24 00:03:17 -05:00
explain position information numbers in syntax exception
This commit is contained in:
@@ -520,11 +520,11 @@ public class JSONTokener {
|
||||
/**
|
||||
* Make a printable string of this JSONTokener.
|
||||
*
|
||||
* @return " at {index} [character {character} line {line}]"
|
||||
* @return " at index {index} [character number {character} in line {line}]"
|
||||
*/
|
||||
@Override
|
||||
public String toString() {
|
||||
return " at " + this.index + " [character " + this.character + " line " +
|
||||
return " at index " + this.index + " [character number " + this.character + " in line " +
|
||||
this.line + "]";
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user