Skip to content

Commit 379ddb8

Browse files
authored
Remove test dependency lombok
* lombok was almost never used. also gave me errors on 'mvn install' on ubuntu 20.04 projectlombok/lombok#1651 . unless there are plans to use it more extensively, maybe it is best to remove it, to clean up the dependencies and enable me (and maybe others) to build without errors. * fix Employee.java without lombok
1 parent 8316035 commit 379ddb8

File tree

2 files changed

+18
-9
lines changed

2 files changed

+18
-9
lines changed

pom.xml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -72,12 +72,6 @@
7272
<version>1.7</version>
7373
<scope>test</scope>
7474
</dependency>
75-
<dependency>
76-
<groupId>org.projectlombok</groupId>
77-
<artifactId>lombok</artifactId>
78-
<version>1.16.18</version>
79-
<scope>test</scope>
80-
</dependency>
8175

8276
</dependencies>
8377

Lines changed: 18 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,25 @@
11
package j2html.comparison.model;
22

3-
import lombok.Value;
4-
5-
@Value
63
public class Employee {
74
int id;
85
String name;
96
String title;
7+
8+
public Employee(int id, String name, String title) {
9+
this.id = id;
10+
this.name = name;
11+
this.title = title;
12+
}
13+
14+
public int getId() {
15+
return id;
16+
}
17+
18+
public String getName() {
19+
return name;
20+
}
21+
22+
public String getTitle() {
23+
return title;
24+
}
1025
}

0 commit comments

Comments
 (0)