diff options
author | Michi Henning <michi@zeroc.com> | 2009-05-14 12:20:13 +1000 |
---|---|---|
committer | Michi Henning <michi@zeroc.com> | 2009-05-14 12:20:13 +1000 |
commit | 99e135fb44e7e011719dec95224c5ae6abeed42d (patch) | |
tree | 1788d53c5373b190ea6bdc3d3a53678c85c8152d /java/src/IceInternal/FixedReference.java | |
parent | Fixed incorrect string comparison (reference equality instead of string equal... (diff) | |
download | ice-99e135fb44e7e011719dec95224c5ae6abeed42d.tar.bz2 ice-99e135fb44e7e011719dec95224c5ae6abeed42d.tar.xz ice-99e135fb44e7e011719dec95224c5ae6abeed42d.zip |
Fixed a few more issues reported by FindBugs, mostly about inconsistencies with equals/hash.
Diffstat (limited to 'java/src/IceInternal/FixedReference.java')
-rw-r--r-- | java/src/IceInternal/FixedReference.java | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/java/src/IceInternal/FixedReference.java b/java/src/IceInternal/FixedReference.java index f91064ef8e0..1501576c40d 100644 --- a/java/src/IceInternal/FixedReference.java +++ b/java/src/IceInternal/FixedReference.java @@ -267,5 +267,12 @@ public class FixedReference extends Reference return _fixedConnection.equals(rhs._fixedConnection); } + public int + hashCode() + { + return super.hashCode(); + } + + private Ice.ConnectionI _fixedConnection; } |