mirror of
https://github.com/tiennm99/lombok.git
synced 2026-10-16 10:15:22 +00:00
a initialization of variable like "var o = null;" will throw the compile time error "variable initializer is 'null'"
This commit is contained in:
1 parent
67371e5841
commit
69eeb9edc7
7 files changed
+25
-6
No files matched your search
@@ -1,4 +1,5 @@
|
||||
class VarNullInit {
|
||||
|
||||
public class VarNullInit {
|
||||
void method() {
|
||||
java.lang.Object x = null;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user