We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 02ddb16 commit 06cf700Copy full SHA for 06cf700
kata/7-kyu/lombok-builder/main/People.java
@@ -1,15 +1,15 @@
1
import lombok.Builder;
2
-import lombok.Value;
+import lombok.Getter;
3
4
@Builder
5
-@Value
+@Getter
6
class People {
7
private static final String GREET = "hello my name is ";
8
- String name;
9
- String lastName;
10
- String city;
11
- String job;
12
- int age;
+ private final String name;
+ private final String lastName;
+ private final String city;
+ private final String job;
+ private final int age;
13
14
String greet() {
15
return GREET + name;
0 commit comments