mirror of
https://github.com/tiennm99/lombok.git
synced 2026-05-28 08:21:35 +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.val;
|
||||
|
||||
class ValNullInit {
|
||||
void method() {
|
||||
val x = null;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user