mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-06 08:00:18 +07:00
GitOrigin-RevId: 206f9f82c377ed1301986585f20d4b0fc7c99a30
9 lines
192 B
Java
9 lines
192 B
Java
// "Replace with 'cs'" "true"
|
|
import java.nio.charset.*;
|
|
import java.io.UnsupportedEncodingException;
|
|
|
|
class X {
|
|
byte[] convert(String str, Charset cs) {
|
|
return str.getBytes(cs);
|
|
}
|
|
} |