mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-07-30 17:27:53 +07:00
AddTypeCastFix: disallow void type
This commit is contained in:
+6
@@ -0,0 +1,6 @@
|
||||
// "Cast to 'void'" "false"
|
||||
class Test {
|
||||
void test() {
|
||||
Runnable r = () -> (System.out.<caret>println());
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user