Revert "explain position information numbers in syntax exception"

This reverts commit d69d5e284b.
This commit is contained in:
Simulant
2024-03-27 20:35:43 +01:00
parent 78cdb3d0d6
commit 0fcf352848
10 changed files with 84 additions and 84 deletions

View File

@@ -520,11 +520,11 @@ public class JSONTokener {
/**
* Make a printable string of this JSONTokener.
*
* @return " at index {index} [character number {character} in line {line}]"
* @return " at {index} [character {character} line {line}]"
*/
@Override
public String toString() {
return " at index " + this.index + " [character number " + this.character + " in line " +
return " at " + this.index + " [character " + this.character + " line " +
this.line + "]";
}