mirror of
https://github.com/tiennm99/lombok.git
synced 2026-05-28 02:25:27 +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:
@@ -0,0 +1,7 @@
|
||||
import lombok.experimental.var;
|
||||
|
||||
class VarNullInit {
|
||||
void method() {
|
||||
var x = null;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user