mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-05-04 20:30:42 +07:00
12 lines
261 B
Java
12 lines
261 B
Java
// "Compute constant value of 'SINGLE_QUOTE'" "true-preview"
|
|
|
|
class ConstantCast {
|
|
public static final char SINGLE_QUOTE = '\'';
|
|
|
|
static void doSomething(Object o) {
|
|
}
|
|
|
|
public static void main(String[] args) {
|
|
doSomething(SINGLE_QUOTE<caret>);
|
|
}
|
|
} |