mirror of
https://github.com/alibaba/druid.git
synced 2023-03-04 19:17:16 +00:00
bug fixed for json
This commit is contained in:
@@ -152,7 +152,7 @@ public class JSONParser {
|
||||
return;
|
||||
}
|
||||
|
||||
throw new IllegalArgumentException("illegal token : " + token + ", expect " + token);
|
||||
throw new IllegalArgumentException("illegal token : " + this.token + ", expect " + token);
|
||||
}
|
||||
|
||||
final void nextToken() {
|
||||
@@ -312,7 +312,6 @@ public class JSONParser {
|
||||
char c4 = ch;
|
||||
int val = Integer.parseInt(new String(new char[] { c1, c2, c3, c4 }), 16);
|
||||
strBuf.append((char) val);
|
||||
break;
|
||||
} else {
|
||||
throw new IllegalArgumentException("illegal string : " + strBuf);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user