mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-17 15:50:53 +07:00
25 lines
344 B
Java
25 lines
344 B
Java
// "Replace with lambda" "true-preview"
|
|
public class MyNameConflict {
|
|
|
|
{
|
|
|
|
int x = 0;
|
|
|
|
Comparable<E> c = new Compara<caret>ble<E>() {
|
|
@Override
|
|
public int compareTo(E x) {
|
|
switch (x) {
|
|
case EE:
|
|
break;
|
|
}
|
|
return x.hashCode();
|
|
}
|
|
};
|
|
}
|
|
|
|
static enum E {
|
|
EE;
|
|
}
|
|
|
|
}
|