Skip to content

Add git hook and documentation for code formatting

98b02ab
Select commit
Loading
Failed to load commit list.
Merged

Integrate automatic code formatting with git hooks and documentation #415

Add git hook and documentation for code formatting
98b02ab
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis failed Nov 24, 2025 in 37s

Quality Gate failed

Annotations

Check warning on line 71 in xapi-client/src/test/java/dev/learning/xapi/client/GetStatesRequestTests.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Update this method so that its implementation is not identical to "whenBuildingGetStatesRequestWithoutRegistrationParameterThenNoExceptionIsThrown" on line 58.

See more on https://sonarcloud.io/project/issues?id=BerryCloud_xapi-java&issues=AZq14tm2AYHRKPrXr2u-&open=AZq14tm2AYHRKPrXr2u-&pullRequest=415

Check warning on line 277 in xapi-client/src/test/java/dev/learning/xapi/client/XapiClientTests.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove the declaration of thrown exception 'java.lang.InterruptedException', as it cannot be thrown from method's body.

See more on https://sonarcloud.io/project/issues?id=BerryCloud_xapi-java&issues=AZq14tn_AYHRKPrXr2vA&open=AZq14tn_AYHRKPrXr2vA&pullRequest=415

Check warning on line 369 in xapi-client/src/test/java/dev/learning/xapi/client/XapiClientMultipartTests.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove the declaration of thrown exception 'java.lang.InterruptedException', as it cannot be thrown from method's body.

See more on https://sonarcloud.io/project/issues?id=BerryCloud_xapi-java&issues=AZq14toVAYHRKPrXr2vC&open=AZq14toVAYHRKPrXr2vC&pullRequest=415

Check warning on line 1051 in xapi-client/src/main/java/dev/learning/xapi/client/XapiClient.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace this lambda with method reference 'StatementIterator::new'.

See more on https://sonarcloud.io/project/issues?id=BerryCloud_xapi-java&issues=AZq14tpFAYHRKPrXr2vD&open=AZq14tpFAYHRKPrXr2vD&pullRequest=415

Check warning on line 2435 in xapi-client/src/test/java/dev/learning/xapi/client/XapiClientTests.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove the declaration of thrown exception 'java.lang.InterruptedException', as it cannot be thrown from method's body.

See more on https://sonarcloud.io/project/issues?id=BerryCloud_xapi-java&issues=AZq14tn_AYHRKPrXr2vB&open=AZq14tn_AYHRKPrXr2vB&pullRequest=415

Check warning on line 1238 in xapi-client/src/test/java/dev/learning/xapi/client/XapiClientTests.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Update this method so that its implementation is not identical to "whenDeletingASingleStateThenPathIsExpected" on line 1194.

See more on https://sonarcloud.io/project/issues?id=BerryCloud_xapi-java&issues=AZq14tn_AYHRKPrXr2u_&open=AZq14tn_AYHRKPrXr2u_&pullRequest=415