We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5776cdc commit 4e733bfCopy full SHA for 4e733bf
1 file changed
src/main/java/com/uid2/operator/vertx/Endpoints.java
@@ -30,13 +30,14 @@ public enum Endpoints {
30
UID2_SDK_2_0_0("/static/js/uid2-sdk-2.0.0.js")
31
;
32
private final String path;
33
+ private static final Set<String> endpoints = Stream.of(Endpoints.values()).map(Endpoints::toString).collect(Collectors.toSet());
34
35
Endpoints(final String path) {
36
this.path = path;
37
}
38
39
public static Set<String> pathSet() {
- return Stream.of(Endpoints.values()).map(Endpoints::toString).collect(Collectors.toSet());
40
+ return endpoints;
41
42
43
@Override
0 commit comments