mirror of
https://github.com/tiennm99/lombok.git
synced 2026-10-14 02:16:18 +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,7 +1,6 @@
|
||||
import lombok.experimental.var;
|
||||
|
||||
class VarNullInit {
|
||||
VarNullInit() {
|
||||
public class VarNullInit {
|
||||
public VarNullInit() {
|
||||
super();
|
||||
}
|
||||
void method() {
|
||||
|
||||
Reference in new issue
Block a user