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