Skip to content

refactor: replace the WebSocketClient builder with setters - #1566

Open
jlouvel wants to merge 2 commits into
3.0from
refactor/websocket-client-setters
Open

jlouvel wants to merge 2 commits into
3.0from
refactor/websocket-client-setters

test: cover reconnecting a stopped WebSocketClient with new settings

b7f6a1a
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis succeeded Oct 30, 2026 in 59s

Annotations

Check warning on line 189 in org.restlet.ext.websocket/src/test/java/org/restlet/ext/websocket/WebSocketSessionTestCase.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor the code of the lambda to have only one invocation possibly throwing a runtime exception.

See more on https://sonarcloud.io/project/issues?id=restlet_restlet-framework-java&issues=AaGI6Odi4zMq4dUgFDfK&open=AaGI6Odi4zMq4dUgFDfK&pullRequest=1566

Check failure on line 49 in org.restlet.ext.websocket/src/main/java/org/restlet/ext/websocket/WebSocketClient.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Add a nested comment explaining why this method is empty, throw an UnsupportedOperationException or complete the implementation.

See more on https://sonarcloud.io/project/issues?id=restlet_restlet-framework-java&issues=AaGI6OaI4zMq4dUgFDfI&open=AaGI6OaI4zMq4dUgFDfI&pullRequest=1566

Check warning on line 186 in org.restlet.ext.websocket/src/test/java/org/restlet/ext/websocket/WebSocketSessionTestCase.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor the code of the lambda to have only one invocation possibly throwing a runtime exception.

See more on https://sonarcloud.io/project/issues?id=restlet_restlet-framework-java&issues=AaGI6Odi4zMq4dUgFDfJ&open=AaGI6Odi4zMq4dUgFDfJ&pullRequest=1566