diff options
author | Caolán McNamara <caolanm@redhat.com> | 2015-10-14 21:15:18 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2015-10-15 09:12:36 +0100 |
commit | 5d5e14e97eafa22280250d5dab95c3228c68fb9a (patch) | |
tree | 88faebf849071437cda9c97c77f002120f27a712 /xmerge | |
parent | 99b21cc9f3f32284061be255f437b2954a7aada0 (diff) |
coverity#1326899 HE: Equal objects must have equal hashcodes
and...
coverity#1326898 HE: Equal objects must have equal hashcodes
coverity#1326897 HE: Equal objects must have equal hashcodes
coverity#1326896 HE: Equal objects must have equal hashcodes
coverity#1326895 HE: Equal objects must have equal hashcodes
Change-Id: Ic9cb7542c1bf0608a97e5b4756b737cdf1bb4bd8
Diffstat (limited to 'xmerge')
3 files changed, 20 insertions, 3 deletions
diff --git a/xmerge/source/xmerge/java/org/openoffice/xmerge/converter/palm/PalmDB.java b/xmerge/source/xmerge/java/org/openoffice/xmerge/converter/palm/PalmDB.java index 4c48e3feb71e..2f6ca011462b 100644 --- a/xmerge/source/xmerge/java/org/openoffice/xmerge/converter/palm/PalmDB.java +++ b/xmerge/source/xmerge/java/org/openoffice/xmerge/converter/palm/PalmDB.java @@ -351,4 +351,10 @@ public final class PalmDB { return bool; } -}
\ No newline at end of file + + @Override + public int hashCode() { + return 0; + } + +} diff --git a/xmerge/source/xmerge/java/org/openoffice/xmerge/converter/palm/Record.java b/xmerge/source/xmerge/java/org/openoffice/xmerge/converter/palm/Record.java index cf9fad8c15ad..12d7a0256c87 100644 --- a/xmerge/source/xmerge/java/org/openoffice/xmerge/converter/palm/Record.java +++ b/xmerge/source/xmerge/java/org/openoffice/xmerge/converter/palm/Record.java @@ -167,4 +167,10 @@ public final class Record { } return false; } -}
\ No newline at end of file + + @Override + public int hashCode() { + return 0; + } + +} diff --git a/xmerge/source/xmerge/java/org/openoffice/xmerge/merger/Difference.java b/xmerge/source/xmerge/java/org/openoffice/xmerge/merger/Difference.java index b797f3a865f6..74e95fb384ce 100644 --- a/xmerge/source/xmerge/java/org/openoffice/xmerge/merger/Difference.java +++ b/xmerge/source/xmerge/java/org/openoffice/xmerge/merger/Difference.java @@ -175,6 +175,11 @@ public final class Difference { return false; } + @Override + public int hashCode() { + return 0; + } + /** * Display debug information. * @@ -215,4 +220,4 @@ public final class Difference { return orgPosition + " " + modPosition + " " + operation; } -}
\ No newline at end of file +} |