gemini-hlsw/ocs — pull request #8 by fnussber (2014-09-24 20:54:33+00:00)
Title: REL-1436, REL-615: Bug fixes caused by faulty comparison of Alloc objects.

A faulty comparison (based solely on compareTo of Interval) in Alloc objects caused a variety of problems when Alloc or Marker objects were stored in sets because Allocs that covered the same time interval were considered equal and therefore removed from the set. This fix addresses two issues:

1) After cutting and pasting observations from one variant into another one the corresponding problem markers were lost (unless one of the observations was moved around so that it covered a different time interval.
2) If two observations with the same duration were put on top of each other one of them vanished from the variant because it was removed from the underlying AllocSet.

There are probably more elaborate/cleaner ways to fix this but I was trying to find a fix that is as local as possible in order to minimize the risk of unwanted side effects.