diff options
author | Vlad Dumitrescu <[email protected]> | 2010-09-20 14:44:57 +0200 |
---|---|---|
committer | Björn Gustavsson <[email protected]> | 2010-09-20 16:14:00 +0200 |
commit | a1170100ee8679d4b3113204df511db8896abd97 (patch) | |
tree | f4dbfbd6fbc662924b9b83b1ac9bc0c30ad3f274 /lib/jinterface | |
parent | c9a40f46a37bd0891779d9204244a86ffb34a683 (diff) | |
download | otp-a1170100ee8679d4b3113204df511db8896abd97.tar.gz otp-a1170100ee8679d4b3113204df511db8896abd97.tar.bz2 otp-a1170100ee8679d4b3113204df511db8896abd97.zip |
add OtpMbox.hash() method
The OtpMbox class was missing the hash() method while overriding
equals(). This can cause problems when using jinterface in a
larger Java application.
Diffstat (limited to 'lib/jinterface')
-rw-r--r-- | lib/jinterface/java_src/com/ericsson/otp/erlang/OtpMbox.java | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/jinterface/java_src/com/ericsson/otp/erlang/OtpMbox.java b/lib/jinterface/java_src/com/ericsson/otp/erlang/OtpMbox.java index 4146bd3ced..a9712aa2ba 100644 --- a/lib/jinterface/java_src/com/ericsson/otp/erlang/OtpMbox.java +++ b/lib/jinterface/java_src/com/ericsson/otp/erlang/OtpMbox.java @@ -678,6 +678,11 @@ public class OtpMbox { return m.self.equals(self); } + @Override + public int hashCode() { + return self.hashCode(); + } + /* * called by OtpNode to deliver message to this mailbox. * |