Skip to content

fix: expand example for 1.3.3.1#387

Open
dd-oleksii wants to merge 1 commit into
open-feature:mainfrom
dd-oleksii:oleksii/jj-kyoqkumnqrqq
Open

fix: expand example for 1.3.3.1#387
dd-oleksii wants to merge 1 commit into
open-feature:mainfrom
dd-oleksii:oleksii/jj-kyoqkumnqrqq

Conversation

@dd-oleksii
Copy link
Copy Markdown
Contributor

This PR

Expand example for additional number getters.

  • add example of getLongValue (consistent with java idioms)
  • fix typing for getFloatValue (long -> double)

Related Issues

open-feature/java-sdk#501 (comment)

- add example of getLongValue (consistent with java idioms)
- fix typing for getFloatValue (long -> double)

Signed-off-by: Oleksii Shmalko <oleksii.shmalko@datadoghq.com>
@dd-oleksii dd-oleksii requested a review from a team as a code owner May 26, 2026 12:20
Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request updates the Java code snippet in the flag evaluation specification. It replaces the incorrect getFloatValue method (which returned a long) with two correct method signatures: getLongValue returning a long and getDoubleValue returning a double. There are no review comments, and I have no additional feedback to provide.

@dd-oleksii
Copy link
Copy Markdown
Contributor Author

CI failed because of github incident: https://www.githubstatus.com/incidents/gnftqj9htp0g

Copy link
Copy Markdown
Member

@lukas-reining lukas-reining left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Makes sense!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants