Skip to content

Add @UpdateForV10 to AbstractObjectParser.declareInt #130738

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

joshua-adams-1
Copy link
Contributor

Adds an @UpdateForV10 annotation to the AbstractObjectParser .declareInt method and assigns it to the Distributed Coordination team. This method needs to throw an IllegalArgumentException for non-integer values being passed, such as floats, doubles, and stringified floats and doubles. At present, such values are truncated and accepted, and this may lead to undesired behaviour.

Adds an `@UpdateForV10` annotation to the `AbstractObjectParser
.declareInt` method and assigns it to the Distributed Coordination team.
 This method needs to throw an `IllegalArgumentException` for
 non-integer values being passed, such as floats, doubles, and
 stringified floats and doubles.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants