Skip to content

Commit ca529bf

Browse files
committed
Lombok @Getter(lazy = true)
1 parent f89af9f commit ca529bf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/com/rajeshkawali/lombok/LombokMain.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ public static void main(String[] args) {
2121
User user = User.builder()
2222
.id(1L)
2323
.age(24)
24-
//.role("Sr.Software Engineer")
24+
//.role("Sr.Software Engineer") // We have given this field as @Getter(lazy = true)
2525
.gender("Male")
2626
.firstName("Keshav")
2727
.lastName("Koli")

0 commit comments

Comments
 (0)