Skip to content

Commit 7e13212

Browse files
committed
remove lombok
1 parent b850865 commit 7e13212

File tree

2 files changed

+7
-11
lines changed

2 files changed

+7
-11
lines changed

pom.xml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -66,12 +66,6 @@
6666
<artifactId>junit-jupiter-params</artifactId>
6767
<scope>test</scope>
6868
</dependency>
69-
<dependency>
70-
<groupId>org.projectlombok</groupId>
71-
<artifactId>lombok</artifactId>
72-
<version>1.18.34</version>
73-
<scope>provided</scope>
74-
</dependency>
7569
</dependencies>
7670

7771
<dependencyManagement>

src/main/java/com/uid2/client/Site.java

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,19 @@
11
package com.uid2.client;
22

3-
import lombok.AllArgsConstructor;
4-
import lombok.Getter;
5-
63
import java.util.Set;
74

8-
@Getter
9-
@AllArgsConstructor
105
public class Site {
116
private final int id;
127

138
private final Set<String> domainOrAppNames;
149

10+
public int getId() { return id;}
11+
12+
public Site(int id, Set<String> domainOrAppNames) {
13+
this.id = id;
14+
this.domainOrAppNames = domainOrAppNames;
15+
}
16+
1517
public boolean allowDomainOrAppName(String domainOrAppName) {
1618
// Using streams because HashSet's contains() is case sensitive
1719
return domainOrAppNames.stream().anyMatch(domainOrAppName::equalsIgnoreCase);

0 commit comments

Comments
 (0)