mirror of
https://github.com/tiennm99/lombok.git
synced 2026-10-14 08:18:29 +00:00
Use of the 'var' feature is disabled by default.
Include lombok.var.flagUsage = ALLOW in lombok.config to enable var
This commit is contained in:
1 parent
710a04607b
commit
62672c0385
9 files changed
+87
-47
No files matched your search
@@ -1,10 +1,10 @@
|
||||
import lombok.experimental.var;
|
||||
|
||||
class VarNullInit {
|
||||
ValNullInit() {
|
||||
VarNullInit() {
|
||||
super();
|
||||
}
|
||||
void method() {
|
||||
final @var java.lang.Object x = null;
|
||||
@var java.lang.Object x = null;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user