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/LocatorInfo.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/LocatorInfo.java')
-rw-r--r-- | java/src/IceInternal/LocatorInfo.java | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/java/src/IceInternal/LocatorInfo.java b/java/src/IceInternal/LocatorInfo.java index 7ccc7b8fee3..461a43b2e42 100644 --- a/java/src/IceInternal/LocatorInfo.java +++ b/java/src/IceInternal/LocatorInfo.java @@ -355,6 +355,12 @@ public final class LocatorInfo return false; } + public int + hashCode() + { + return _locator.hashCode(); + } + public Ice.LocatorPrx getLocator() { |