Thanks for the work, Stephen!

-- Ned Ruggeri

On Sun, Dec 4, 2011 at 3:46 AM, Stephen Colebourne <scolebou...@joda.org> wrote:
> Hi,
> I've made the change as you suggested, thanks!
> Stephen
>
> On 26 November 2011 01:43, Edward Ruggeri <rugg...@self-loop.com> wrote:
>> Hey joda devs!,
>>
>> I noticed that the hashCode of identical Periods varies across JVM
>> runs.  I traced this to StandardDurationFieldType, which doesn't
>> overload the default hashCode method.  Luckily, there is only one
>> instance of each distinct StandardDurationFieldType.  But if you
>> relaunch the JVM, the same DurationFieldType will map to different
>> hashCode values.
>>
>> If we agree that deterministic behavior from hashCode is desirable, I
>> will write and submit a patch in the next day.  I'll just override
>> hashCode to return a hash of the "ordinal" byte specifying the
>> DurationFieldType.
>>
>> -- Ned Ruggeri
>>
>> ------------------------------------------------------------------------------
>> All the data continuously generated in your IT infrastructure
>> contains a definitive record of customers, application performance,
>> security threats, fraudulent activity, and more. Splunk takes this
>> data and makes sense of it. IT sense. And common sense.
>> http://p.sf.net/sfu/splunk-novd2d
>> _______________________________________________
>> Joda-interest mailing list
>> Joda-interest@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/joda-interest
>
> ------------------------------------------------------------------------------
> All the data continuously generated in your IT infrastructure
> contains a definitive record of customers, application performance,
> security threats, fraudulent activity, and more. Splunk takes this
> data and makes sense of it. IT sense. And common sense.
> http://p.sf.net/sfu/splunk-novd2d
> _______________________________________________
> Joda-interest mailing list
> Joda-interest@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/joda-interest

------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure 
contains a definitive record of customers, application performance, 
security threats, fraudulent activity, and more. Splunk takes this 
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d
_______________________________________________
Joda-interest mailing list
Joda-interest@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/joda-interest

Reply via email to