mirror of
https://github.com/tiennm99/lombok.git
synced 2026-10-06 06:15:48 +00:00
The @var annotation has been moved to the experimental package.
Added a test of a @var variable with null initialization.
This commit is contained in:
1 parent
55619e8030
commit
710a04607b
19 files changed
+105
-50
No files matched your search
@@ -0,0 +1,7 @@
|
||||
import lombok.experimental.var;
|
||||
|
||||
class VarNullInit {
|
||||
void method() {
|
||||
var x = null;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user