diff options
author | Roel Spilker <r.spilker@gmail.com> | 2014-01-19 21:49:35 +0100 |
---|---|---|
committer | Roel Spilker <r.spilker@gmail.com> | 2014-01-19 21:49:35 +0100 |
commit | 14cc54527663018cdf7343eefffc8c37fbce93bb (patch) | |
tree | b8b45da7feb1217c31306f7024af37ea287d2b2e /test/transform/resource/after-delombok/GetterLazyEahcToString.java | |
parent | 2ab6cc809d6aec8d253962547cab7e32598b84a7 (diff) | |
download | lombok-14cc54527663018cdf7343eefffc8c37fbce93bb.tar.gz lombok-14cc54527663018cdf7343eefffc8c37fbce93bb.tar.bz2 lombok-14cc54527663018cdf7343eefffc8c37fbce93bb.zip |
Issue 625: use (even) better primes for hashcodes
Diffstat (limited to 'test/transform/resource/after-delombok/GetterLazyEahcToString.java')
-rw-r--r-- | test/transform/resource/after-delombok/GetterLazyEahcToString.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/transform/resource/after-delombok/GetterLazyEahcToString.java b/test/transform/resource/after-delombok/GetterLazyEahcToString.java index 29e2f51c..3e98a25e 100644 --- a/test/transform/resource/after-delombok/GetterLazyEahcToString.java +++ b/test/transform/resource/after-delombok/GetterLazyEahcToString.java @@ -27,7 +27,7 @@ class GetterLazyEahcToString { @java.lang.Override @java.lang.SuppressWarnings("all") public int hashCode() { - final int PRIME = 277; + final int PRIME = 59; int result = 1; final java.lang.Object $value = this.getValue(); result = result * PRIME + ($value == null ? 0 : $value.hashCode()); |