File tree Expand file tree Collapse file tree 2 files changed +7
-11
lines changed
src/main/java/com/uid2/client Expand file tree Collapse file tree 2 files changed +7
-11
lines changed Original file line number Diff line number Diff line change 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 >
Original file line number Diff line number Diff line change 11package com .uid2 .client ;
22
3- import lombok .AllArgsConstructor ;
4- import lombok .Getter ;
5-
63import java .util .Set ;
74
8- @ Getter
9- @ AllArgsConstructor
105public 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 );
You can’t perform that action at this time.
0 commit comments