Menu

#231 MPP DataType: Non-unique enumeration value

v1.0_(example)
closed-fixed
Jon Iles
None
5
2017-10-06
2013-09-19
Frank
No

The enumeration defined in the source file DataType.java contains two enum instances with the same value, namely RESOURCE_TYPE (15) and TIME_UNITS(15).
To my mind, this looks like a bug, since it is surprising and not commented. This might lead to nasty problems which are hard to located. Jon, can you validate this?

Discussion

  • Jon Iles

    Jon Iles - 2017-10-06
    • status: open --> closed-fixed
    • assigned_to: Jon Iles
     
  • Jon Iles

    Jon Iles - 2017-10-06

    Now fixed, code on GitHub!

     

Log in to post a comment.

MongoDB Logo MongoDB