mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-18 09:34:34 +07:00
inline method: erase type for array creation (IDEA-194441)
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
|
||||
import java.util.Optional;
|
||||
|
||||
class Test
|
||||
{
|
||||
void x() {
|
||||
Optional<String>[] os = (Optional<String>[]) new Optional[]{Optional.empty()};
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user