File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
independent-projects/bootstrap/json/src/main/java/io/quarkus/bootstrap/json Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -236,10 +236,10 @@ private static int unescape(int ch) {
236236 }
237237
238238 private char readUnicode () {
239- final char digit1 = Character .forDigit (nextChar (), 16 );
240- final char digit2 = Character .forDigit (nextChar (), 16 );
241- final char digit3 = Character .forDigit (nextChar (), 16 );
242- final char digit4 = Character .forDigit (nextChar (), 16 );
239+ final int digit1 = Character .digit (nextChar (), 16 );
240+ final int digit2 = Character .digit (nextChar (), 16 );
241+ final int digit3 = Character .digit (nextChar (), 16 );
242+ final int digit4 = Character .digit (nextChar (), 16 );
243243 return (char ) (digit1 << 12 | digit2 << 8 | digit3 << 4 | digit4 );
244244 }
245245
You can’t perform that action at this time.
0 commit comments