BAEL2567-New section on Lombok’s @Getter(lazy=true)
This commit is contained in:
parent
f80f7b79a9
commit
328d58d3d0
@ -1,10 +0,0 @@
|
|||||||
package com.baeldung.singleton;
|
|
||||||
|
|
||||||
import lombok.Getter;
|
|
||||||
|
|
||||||
|
|
||||||
public class GetterLazy {
|
|
||||||
|
|
||||||
@Getter(lazy = true)
|
|
||||||
private final String name = "name";
|
|
||||||
}
|
|
Loading…
x
Reference in New Issue
Block a user