Skip to content

Commit

Permalink
Fix compilation error with Java 8
Browse files Browse the repository at this point in the history
  • Loading branch information
carlosame committed Sep 14, 2023
1 parent cf6c597 commit c657e39
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/java/io/sf/carte/uparser/TokenProducer.java
Original file line number Diff line number Diff line change
Expand Up @@ -746,7 +746,7 @@ void handleControl(int codepoint) {
prevlinelength++;
} else {
handler.error(rootIndex, TokenProducer.ERR_UNEXPECTED_CONTROL,
"Unexpected: " + Character.toString(codepoint));
"Unexpected codepoint: " + Integer.toHexString(codepoint));
}
}
} else if (codepoint == 12) { // FF
Expand All @@ -768,7 +768,7 @@ void handleControl(int codepoint) {
handler.separator(rootIndex, 9);
} else if (codepoint < 0x80) {
handler.error(rootIndex, TokenProducer.ERR_UNEXPECTED_CONTROL,
"Unexpected: " + Character.toString(codepoint));
"Unexpected codepoint: " + Integer.toHexString(codepoint));
} else {
handler.control(rootIndex, codepoint);
}
Expand Down

0 comments on commit c657e39

Please sign in to comment.