diff options
author | Arne H Juul <arnej@yahoo-inc.com> | 2017-04-21 10:57:37 +0200 |
---|---|---|
committer | Arne H Juul <arnej@yahoo-inc.com> | 2017-04-21 10:57:53 +0200 |
commit | fe8794eab4f891f5ea09865fd753df7a3f77b7a9 (patch) | |
tree | 2656d8c988bab177feb62a851fee62e8caf57125 /document/src/test | |
parent | 12a6fcea62ed7c4b581164d70572ef85ed309836 (diff) |
add @Override
Diffstat (limited to 'document/src/test')
-rw-r--r-- | document/src/test/java/com/yahoo/document/BucketIdFactoryTestCase.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/document/src/test/java/com/yahoo/document/BucketIdFactoryTestCase.java b/document/src/test/java/com/yahoo/document/BucketIdFactoryTestCase.java index 174c8842edc..7df271035f7 100644 --- a/document/src/test/java/com/yahoo/document/BucketIdFactoryTestCase.java +++ b/document/src/test/java/com/yahoo/document/BucketIdFactoryTestCase.java @@ -31,9 +31,11 @@ public class BucketIdFactoryTestCase extends junit.framework.TestCase { value = val; } + @Override public boolean equals(Object o) { return (o instanceof Hex && value == ((Hex) o).value); } + @Override public int hashCode() { return (int)value; } public String toString() { |