mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-26 15:27:45 +07:00
Fixes IDEA-193573 IDEA doesn't recornize static import on replacing by StandardCharsets
10 lines
271 B
Java
10 lines
271 B
Java
// "Replace with 'StandardCharsets.UTF_8'" "true"
|
|
import static java.nio.charset.StandardCharsets.*;
|
|
|
|
class Test {
|
|
void test(byte[] bytes) throws Exception {
|
|
String string = new String(bytes, UTF_8);
|
|
System.out.println(string);
|
|
string.getBytes(UTF_8);
|
|
}
|
|
} |