Skip to content

Take into account Sonar comments

c7da114
Select commit
Loading
Failed to load commit list.
Open

Add spotless plugin and fix grammar issues #1503

Take into account Sonar comments
c7da114
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis succeeded May 10, 2026 in 1m 16s

Annotations

Check warning on line 51 in org.restlet/src/main/java/org/restlet/representation/ObjectRepresentation.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Make VARIANT_OBJECT_XML_SUPPORTED a static final constant or non-public and provide accessors if needed.

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

Check warning on line 1003 in org.restlet.ext.xml/src/main/java/org/restlet/ext/xml/XmlWriter.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace this use of System.out by a logger.

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

Check warning on line 56 in org.restlet/src/main/java/org/restlet/representation/ObjectRepresentation.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Make VARIANT_OBJECT_BINARY_SUPPORTED a static final constant or non-public and provide accessors if needed.

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

Check warning on line 718 in org.restlet/src/main/java/org/restlet/engine/ssl/DefaultSslContextFactory.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace generic exceptions with specific library exceptions or a custom exception.

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

Check warning on line 187 in org.restlet/src/main/java/org/restlet/routing/VirtualHost.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Constructor has 9 parameters, which is greater than 7 authorized.

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

Check warning on line 63 in org.restlet.ext.crypto/src/main/java/org/restlet/ext/crypto/internal/HttpDigestHelper.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace generic exceptions with specific library exceptions or a custom exception.

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

Check warning on line 618 in org.restlet/src/main/java/org/restlet/engine/local/DirectoryServerResource.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Return an empty collection instead of null.

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

Check warning on line 59 in org.restlet/src/main/java/org/restlet/engine/Engine.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this hard-coded path-delimiter.

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

Check warning on line 51 in org.restlet/src/main/java/org/restlet/representation/ObjectRepresentation.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Make this "public static VARIANT_OBJECT_XML_SUPPORTED" field final

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

Check warning on line 256 in org.restlet/src/main/java/org/restlet/engine/resource/ClientInvocationHandler.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace generic exceptions with specific library exceptions or a custom exception.

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

Check warning on line 115 in org.restlet/src/main/java/org/restlet/data/CookieSetting.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Constructor has 9 parameters, which is greater than 7 authorized.

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

Check warning on line 56 in org.restlet/src/main/java/org/restlet/representation/ObjectRepresentation.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Make this "public static VARIANT_OBJECT_BINARY_SUPPORTED" field final

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

Check warning on line 535 in org.restlet/src/main/java/org/restlet/engine/util/StringUtils.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor the code in order to not assign to this loop counter from within the loop body.

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

Check warning on line 153 in org.restlet/src/main/java/org/restlet/data/ChallengeResponse.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Constructor has 14 parameters, which is greater than 7 authorized.

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

Check warning on line 56 in org.restlet/src/main/java/org/restlet/representation/ObjectRepresentation.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Rename this field "VARIANT_OBJECT_BINARY_SUPPORTED" to match the regular expression '^[a-z][a-zA-Z0-9]*$'.

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

Check warning on line 243 in org.restlet/src/main/java/org/restlet/engine/resource/MethodAnnotationInfo.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Return an empty collection instead of null.

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

Check warning on line 110 in org.restlet.ext.crypto/src/main/java/org/restlet/ext/crypto/internal/AwsVerifier.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Return an empty array instead of null.

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

Check warning on line 51 in org.restlet/src/main/java/org/restlet/representation/ObjectRepresentation.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Rename this field "VARIANT_OBJECT_XML_SUPPORTED" to match the regular expression '^[a-z][a-zA-Z0-9]*$'.

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

Check warning on line 16 in org.restlet/src/main/java/org/restlet/engine/Helper.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this empty class, write its code or make it an "interface".

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

Check warning on line 87 in org.restlet/src/main/java/org/restlet/data/CookieSetting.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Constructor has 8 parameters, which is greater than 7 authorized.

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