Roel Spilker
|
14cc545276
|
Issue 625: use (even) better primes for hashcodes
|
2014-01-19 21:49:35 +01:00 |
|
Reinier Zwitserloot
|
a40a86ad53
|
[#625] Instead of '31' as a prime number for hashCode(), use something else. 31, probably owing to its inclusion in Effective Java, is overused, as proven by Maaartinus in issue 625. Switching to 277 instead. Also, 1231/1237 pair used for booleans has been replaced by 2591/2609.
|
2014-01-09 21:24:04 +01:00 |
|
Reinier Zwitserloot
|
b1877a77be
|
fixed tests since Robbert Jan's fix for issue 377.
|
2012-07-16 22:24:04 +02:00 |
|
Roel Spilker
|
25def866b5
|
Issue 366: don't call the getter twice, fixed for Eclipse.
|
2012-04-29 23:57:48 +02:00 |
|
Roel Spilker
|
5a13db5dc9
|
Issue 366: don't call the getter twice, fixed for javac.
|
2012-04-29 23:57:47 +02:00 |
|
Roel Spilker
|
2fcfc4c3dc
|
Fixed unit tests to take into account work on issue 289 and 287.
|
2011-11-01 00:53:21 +01:00 |
|
Roel Spilker
|
83e2fb5e00
|
Now either all or none of equals/hashCode/canEqual is generated. Fixes issue 240.
|
2011-07-18 21:05:00 +02:00 |
|