Skip to content

Inconsistency in dealing with missing parameter values #28

Description

@roughhawkbit

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions