Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

lombok was almost never used. also gave me errors on 'mvn install' on… #155

Merged
merged 2 commits into from
Aug 15, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 0 additions & 6 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -72,12 +72,6 @@
<version>1.7</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
<version>1.16.18</version>
<scope>test</scope>
</dependency>

</dependencies>

Expand Down
21 changes: 18 additions & 3 deletions src/test/java/j2html/comparison/model/Employee.java
Original file line number Diff line number Diff line change
@@ -1,10 +1,25 @@
package j2html.comparison.model;

import lombok.Value;

@Value
public class Employee {
int id;
String name;
String title;

public Employee(int id, String name, String title) {
this.id = id;
this.name = name;
this.title = title;
}

public int getId() {
return id;
}

public String getName() {
return name;
}

public String getTitle() {
return title;
}
}