equals/hashCode fix for Span and Limits
---------------------------------------

                 Key: PIVOT-210
                 URL: https://issues.apache.org/jira/browse/PIVOT-210
             Project: Pivot
          Issue Type: Improvement
            Reporter: Niclas Hedhman


The hashCode() for Span and Limits classes are not good.

Since min/start is often 0, the distribution of hashCode is very very poor, as 
all those will end up with 0 as the hashCode in previous samples.

Equals() allowed subclasses (typ a bad idea) and had no null protection.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to