aboutsummaryrefslogtreecommitdiff
path: root/usage_examples/DataExample_post.jpage
diff options
context:
space:
mode:
Diffstat (limited to 'usage_examples/DataExample_post.jpage')
-rw-r--r--usage_examples/DataExample_post.jpage4
1 files changed, 2 insertions, 2 deletions
diff --git a/usage_examples/DataExample_post.jpage b/usage_examples/DataExample_post.jpage
index 3dc675e9..29e7e328 100644
--- a/usage_examples/DataExample_post.jpage
+++ b/usage_examples/DataExample_post.jpage
@@ -55,7 +55,7 @@ public class DataExample {
}
@Override public int hashCode() {
- final int PRIME = 31;
+ final int PRIME = 59;
int result = 1;
final long temp1 = Double.doubleToLongBits(this.getScore());
result = (result*PRIME) + (this.getName() == null ? 0 : this.getName().hashCode());
@@ -101,7 +101,7 @@ public class DataExample {
}
@Override public int hashCode() {
- final int PRIME = 31;
+ final int PRIME = 59;
int result = 1;
result = (result*PRIME) + (this.getName() == null ? 0 : this.getName().hashCode());
result = (result*PRIME) + (this.getValue() == null ? 0 : this.getValue().hashCode());