mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 14:54:52 +02:00
8263552: Use String.valueOf() for char-to-String conversions
Reviewed-by: redestad, vtewari, azvegint, chegar
This commit is contained in:
parent
fac39fe97a
commit
c0176c42dc
6 changed files with 6 additions and 6 deletions
|
@ -452,7 +452,7 @@ final class CryptoPolicyParser {
|
|||
break;
|
||||
default:
|
||||
throw new ParsingException(st.lineno(), expect,
|
||||
new String(new char[] {(char)lookahead}));
|
||||
String.valueOf((char)lookahead));
|
||||
}
|
||||
return value;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue