Skip to content

fix: expand example for 1.3.3.1 - #387

Merged
toddbaert merged 1 commit into
open-feature:mainfrom
dd-oleksii:oleksii/jj-kyoqkumnqrqq
Jun 3, 2026
Merged

toddbaert merged 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 <[email protected]>
@dd-oleksii
dd-oleksii requested a review from a team as a code owner May 26, 2026 12:20

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

Copy link
Copy Markdown
Contributor

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

@lukas-reining lukas-reining left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Makes sense!

@toddbaert
toddbaert self-requested a review June 3, 2026 17:18
@toddbaert
toddbaert merged commit 93ede7e into open-feature:main Jun 3, 2026
5 of 9 checks passed
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.

4 participants