Skip to content

feat: long support; safe delegation to int#1985

Merged
toddbaert merged 5 commits into
mainfrom
feat/long
Jul 13, 2026
Merged

feat: long support; safe delegation to int#1985
toddbaert merged 5 commits into
mainfrom
feat/long

fixup: pr feedback

d71830d
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis succeeded Jul 13, 2026 in 14s

Annotations

Check warning on line 182 in src/test/java/dev/openfeature/sdk/LongDefaultDelegationTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use isZero() instead.

See more on https://sonarcloud.io/project/issues?id=open-feature_java-sdk&issues=AZ9cWUmlb-EF_A0kOPtV&open=AZ9cWUmlb-EF_A0kOPtV&pullRequest=1985

Check warning on line 202 in src/test/java/dev/openfeature/sdk/providers/memory/InMemoryProviderTest.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=open-feature_java-sdk&issues=AZ9cWUrlb-EF_A0kOPtZ&open=AZ9cWUrlb-EF_A0kOPtZ&pullRequest=1985

Check warning on line 163 in src/test/java/dev/openfeature/sdk/providers/memory/InMemoryProviderTest.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=open-feature_java-sdk&issues=AZ9cWUrlb-EF_A0kOPtX&open=AZ9cWUrlb-EF_A0kOPtX&pullRequest=1985

Check failure on line 134 in src/main/java/dev/openfeature/sdk/providers/memory/InMemoryProvider.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor this method to reduce its Cognitive Complexity from 18 to the 15 allowed.

See more on https://sonarcloud.io/project/issues?id=open-feature_java-sdk&issues=AZ8pN1X6_PZEko83aV76&open=AZ8pN1X6_PZEko83aV76&pullRequest=1985

Check warning on line 227 in src/test/java/dev/openfeature/sdk/LongDefaultDelegationTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use isZero() instead.

See more on https://sonarcloud.io/project/issues?id=open-feature_java-sdk&issues=AZ9cWUmlb-EF_A0kOPtW&open=AZ9cWUmlb-EF_A0kOPtW&pullRequest=1985

Check warning on line 90 in src/test/java/dev/openfeature/sdk/LongDefaultDelegationTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use isZero() instead.

See more on https://sonarcloud.io/project/issues?id=open-feature_java-sdk&issues=AZ9cWUmlb-EF_A0kOPtU&open=AZ9cWUmlb-EF_A0kOPtU&pullRequest=1985

Check warning on line 136 in src/main/java/dev/openfeature/sdk/FeatureProvider.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this unnecessary cast to "double".

See more on https://sonarcloud.io/project/issues?id=open-feature_java-sdk&issues=AZ84QZTfs_iD3Q7HaUMs&open=AZ84QZTfs_iD3Q7HaUMs&pullRequest=1985

Check warning on line 82 in src/test/java/dev/openfeature/sdk/LongDefaultDelegationTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use isZero() instead.

See more on https://sonarcloud.io/project/issues?id=open-feature_java-sdk&issues=AZ9cWUmlb-EF_A0kOPtT&open=AZ9cWUmlb-EF_A0kOPtT&pullRequest=1985

Check warning on line 174 in src/test/java/dev/openfeature/sdk/providers/memory/InMemoryProviderTest.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=open-feature_java-sdk&issues=AZ9cWUrlb-EF_A0kOPtY&open=AZ9cWUrlb-EF_A0kOPtY&pullRequest=1985