Skip to content
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

Inconsistency in dealing with missing parameter values #28

Open
roughhawkbit opened this issue Aug 7, 2013 · 0 comments
Open

Inconsistency in dealing with missing parameter values #28

roughhawkbit opened this issue Aug 7, 2013 · 0 comments

Comments

@roughhawkbit
Copy link
Collaborator

In utils.XMLParser:

  • if a parameter value in the form of a double is missing, Nan is returned.
  • if a parameter value in the form of a integer is missing, 0 is returned.

This isn't a bug per se, but it's an inconsistency that could easily lead to confusion. Annoyingly Integer.Nan does not exist, but Integer.MIN_VALUE or Integer.MAX_VALUE may be appropriate alternatives. Any thoughts?

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

No branches or pull requests

1 participant