mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-16 22:51:17 +07:00
22 lines
257 B
Java
22 lines
257 B
Java
// "Replace with lambda" "true-preview"
|
|
public class MyNameConflict {
|
|
|
|
{
|
|
|
|
int x = 0;
|
|
|
|
Comparable<E> c = x1 -> {
|
|
switch (x1) {
|
|
case EE:
|
|
break;
|
|
}
|
|
return x1.hashCode();
|
|
};
|
|
}
|
|
|
|
static enum E {
|
|
EE;
|
|
}
|
|
|
|
}
|