Skip to content

Merge the Smithy server into org.restlet.ext.smithy, on par with its client - #1674

Open
jlouvel wants to merge 4 commits into
3.0from
feat/smithy-server-in-ext
Open

jlouvel wants to merge 4 commits into
3.0from
feat/smithy-server-in-ext

Let Javadoc read the Smithy server on the class path

b20061e
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis succeeded Nov 14, 2026 in 1m 0s

Annotations

Check warning on line 166 in org.restlet.ext.smithy/src/main/java/org/restlet/ext/smithy/SmithyServerBuilder.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Invert this negated condition and swap the two branches of the ternary.

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

Check warning on line 135 in org.restlet.ext.smithy/src/main/java/org/restlet/ext/smithy/internal/SmithyServerHost.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace "e" with an unnamed pattern.

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

Check warning on line 329 in org.restlet.ext.smithy/src/test/java/org/restlet/ext/smithy/SmithyServerBuilderTestCase.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=AaHauAexDd51B1t_wBiQ&open=AaHauAexDd51B1t_wBiQ&pullRequest=1674

Check warning on line 362 in org.restlet.ext.smithy/src/test/java/org/restlet/ext/smithy/SmithyServerBuilderTestCase.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use assertNotNull instead.

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

Check warning on line 220 in org.restlet.ext.smithy/src/main/java/org/restlet/ext/smithy/internal/SmithyServerHost.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace "e" with an unnamed pattern.

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

Check warning on line 415 in org.restlet.ext.smithy/src/test/java/org/restlet/ext/smithy/SmithyServerAdapterTestCase.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=AaHasj8sTfmq54B5wRyx&open=AaHasj8sTfmq54B5wRyx&pullRequest=1674

Check warning on line 237 in org.restlet.ext.smithy/src/test/java/org/restlet/ext/smithy/SmithyServerAdapterTestCase.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use assertEquals instead.

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

Check warning on line 323 in org.restlet.ext.smithy/src/test/java/org/restlet/ext/smithy/SmithyServerBuilderTestCase.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=AaHauAexDd51B1t_wBiP&open=AaHauAexDd51B1t_wBiP&pullRequest=1674

Check warning on line 312 in org.restlet.ext.smithy/src/test/java/org/restlet/ext/smithy/SmithyServerBuilderTestCase.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=AaHasj1TTfmq54B5wRyv&open=AaHasj1TTfmq54B5wRyv&pullRequest=1674

Check warning on line 175 in org.restlet.ext.smithy/src/main/java/org/restlet/ext/smithy/SmithyServerBuilder.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Extract this nested ternary operation into an independent statement.

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

Check warning on line 328 in org.restlet.ext.smithy/src/main/java/org/restlet/ext/smithy/internal/SmithyServerHost.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

This class has 6 parents which is greater than 5 authorized.

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

Check warning on line 418 in org.restlet.ext.smithy/src/test/java/org/restlet/ext/smithy/SmithyServerAdapterTestCase.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=AaHasj8sTfmq54B5wRyy&open=AaHasj8sTfmq54B5wRyy&pullRequest=1674