aboutsummaryrefslogtreecommitdiff
path: root/test/transform/resource/after-delombok/DataOnLocalClass.java
diff options
context:
space:
mode:
authorRoel Spilker <r.spilker@gmail.com>2014-01-19 21:49:35 +0100
committerRoel Spilker <r.spilker@gmail.com>2014-01-19 21:49:35 +0100
commit14cc54527663018cdf7343eefffc8c37fbce93bb (patch)
treeb8b45da7feb1217c31306f7024af37ea287d2b2e /test/transform/resource/after-delombok/DataOnLocalClass.java
parent2ab6cc809d6aec8d253962547cab7e32598b84a7 (diff)
downloadlombok-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/DataOnLocalClass.java')
-rw-r--r--test/transform/resource/after-delombok/DataOnLocalClass.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/transform/resource/after-delombok/DataOnLocalClass.java b/test/transform/resource/after-delombok/DataOnLocalClass.java
index fae0e4a5..bbd9ae4b 100644
--- a/test/transform/resource/after-delombok/DataOnLocalClass.java
+++ b/test/transform/resource/after-delombok/DataOnLocalClass.java
@@ -39,7 +39,7 @@ class DataOnLocalClass1 {
@java.lang.Override
@java.lang.SuppressWarnings("all")
public int hashCode() {
- final int PRIME = 277;
+ final int PRIME = 59;
int result = 1;
result = result * PRIME + this.getX();
final java.lang.Object $name = this.getName();
@@ -99,7 +99,7 @@ class DataOnLocalClass2 {
@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 $name = this.getName();
result = result * PRIME + ($name == null ? 0 : $name.hashCode());
@@ -136,7 +136,7 @@ class DataOnLocalClass2 {
@java.lang.Override
@java.lang.SuppressWarnings("all")
public int hashCode() {
- final int PRIME = 277;
+ final int PRIME = 59;
int result = 1;
result = result * PRIME + this.getX();
return result;