Skip to content

Commit 7f50d28

Browse files
committed
fix dependencies
1 parent 7da4a39 commit 7f50d28

File tree

3 files changed

+9
-14
lines changed

3 files changed

+9
-14
lines changed

pom.xml

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -30,16 +30,6 @@
3030
<version>9.4.38.v20210224</version>
3131
<scope>compile</scope>
3232
</dependency>
33-
<dependency>
34-
<groupId>org.keycloak</groupId>
35-
<artifactId>keycloak-admin-client</artifactId>
36-
<version>26.0.4</version>
37-
</dependency>
38-
<dependency>
39-
<groupId>info.unterrainer.commons</groupId>
40-
<artifactId>http-server</artifactId>
41-
<version>1.0.0</version>
42-
</dependency>
4333
<dependency>
4434
<groupId>info.unterrainer.commons</groupId>
4535
<artifactId>oauth-token-manager</artifactId>
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
package info.unterrainer.commons.websocketserver;
2+
3+
public class Information {
4+
public static final String name = "Websocket-Server";
5+
public static final String buildTime = "2025-07-25T13:50:51Z";
6+
public static final String pomVersion = "1.0.0";
7+
}

src/main/java/info/unterrainer/websocketserver/WebsocketServer.java

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@
33
import java.util.HashSet;
44
import java.util.function.Consumer;
55

6-
import org.jetbrains.annotations.NotNull;
7-
86
import info.unterrainer.oauthtokenmanager.OauthTokenManager;
97
import io.javalin.Javalin;
108
import io.javalin.websocket.WsHandler;
@@ -45,12 +43,12 @@ public WebsocketServer start(int port) {
4543
return this;
4644
}
4745

48-
public WebsocketServer ws(@NotNull String path, @NotNull Consumer<WsHandler> ws) {
46+
public WebsocketServer ws(String path, Consumer<WsHandler> ws) {
4947
wss.ws(path, ws, new HashSet<>());
5048
return this;
5149
}
5250

53-
public WebsocketServer wsOauth(@NotNull String path, @NotNull WsOauthHandlerBase handler) {
51+
public WebsocketServer wsOauth(String path, WsOauthHandlerBase handler) {
5452
if (!isOauthEnabled) {
5553
throw new IllegalStateException("Websocket server is not configured for OAuth2/JWT support.");
5654
}

0 commit comments

Comments
 (0)