#17 POS should override equals as well as hashCode

closed-fixed
nobody
None
5
2009-02-17
2005-03-02
Anonymous
No

If POS is intended to be Serializable, then it should
override equals as well as hashCode.

Given the following:

// POS pos
posCopy = serializedCopy(pos)

...I would expect pos.equals(posCopy) to be true.

-Paul (Paul.Chiusano@altarum.org)

Discussion

  • Brett Walenz
    Brett Walenz
    2009-02-17

    Closing a reallly out of date bug.

     
  • Brett Walenz
    Brett Walenz
    2009-02-17

    • status: open --> closed-fixed