Skip to content

fix: Update code

89298f2
Select commit
Loading
Failed to load commit list.
Merged

refactor: Make util classes final #535

fix: Update code
89298f2
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis failed May 30, 2026 in 26s

Quality Gate failed

Failed conditions
3 New issues
3 New Code Smells (required ≤ 0)

See analysis details on SonarQube Cloud

Catch issues before they fail your Quality Gate with our IDE extension SonarQube for IDE

Annotations

Check warning on line 77 in src/main/java/org/hisp/dhis/util/JacksonUtils.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Update this method so that its implementation is not identical to "getObjectMapper" on line 68.

See more on https://sonarcloud.io/project/issues?id=dhis2_dhis2-java-client&issues=AZ55yL_ZUqANC3p5oz0D&open=AZ55yL_ZUqANC3p5oz0D&pullRequest=535

Check warning on line 1303 in src/main/java/org/hisp/dhis/BaseDhis2.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace this instanceof check and cast with 'instanceof HttpResponseException httpresponseexception'

See more on https://sonarcloud.io/project/issues?id=dhis2_dhis2-java-client&issues=AZ55yMDrUqANC3p5oz0G&open=AZ55yMDrUqANC3p5oz0G&pullRequest=535

Check warning on line 76 in src/main/java/org/hisp/dhis/util/JacksonXmlUtils.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this unnecessary cast to "XmlFactory".

See more on https://sonarcloud.io/project/issues?id=dhis2_dhis2-java-client&issues=AZ55yMDQUqANC3p5oz0F&open=AZ55yMDQUqANC3p5oz0F&pullRequest=535