Skip to content

Merge branch 'main' of github.com:opentdf/java-sdk into feature/custo…

a75ba57
Select commit
Loading
Failed to load commit list.
Closed

feat(sdk): custom assertions #309

Merge branch 'main' of github.com:opentdf/java-sdk into feature/custo…
a75ba57
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis failed Nov 22, 2025 in 30s

Quality Gate failed

Annotations

Check warning on line 3 in sdk/src/main/java/io/opentdf/platform/sdk/AssertionUtils.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Add a private constructor to hide the implicit public one.

See more on https://sonarcloud.io/project/issues?id=opentdf_java-sdk&issues=AZpPkx1qyidRHwHYenk3&open=AZpPkx1qyidRHwHYenk3&pullRequest=309

Check warning on line 208 in sdk/src/main/java/io/opentdf/platform/sdk/Config.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

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

See more on https://sonarcloud.io/project/issues?id=opentdf_java-sdk&issues=AZpPkx1YyidRHwHYenk2&open=AZpPkx1YyidRHwHYenk2&pullRequest=309

Check warning on line 732 in sdk/src/main/java/io/opentdf/platform/sdk/TDF.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Reduce the total number of break and continue statements in this loop to use at most one.

See more on https://sonarcloud.io/project/issues?id=opentdf_java-sdk&issues=AZpPkx2HyidRHwHYenk4&open=AZpPkx2HyidRHwHYenk4&pullRequest=309

Check warning on line 408 in sdk/src/main/java/io/opentdf/platform/sdk/TDF.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

A "Brain Method" was detected. Refactor it to reduce at least one of the following metrics: LOC from 126 to 64, Complexity from 15 to 14, Nesting Level from 3 to 2, Number of Variables from 38 to 6.

See more on https://sonarcloud.io/project/issues?id=opentdf_java-sdk&issues=AZpPkx2HyidRHwHYenk5&open=AZpPkx2HyidRHwHYenk5&pullRequest=309