aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2010-09-21 12:28:06 +0200
committerBjörn Gustavsson <[email protected]>2010-09-21 12:28:29 +0200
commit06a6e87aa4c8613bf352d0f83b3de3a352f9510d (patch)
treec1386cea69bfa71121aa6360e66452166a8a53e2
parentc1eb8a0b776634422cd9fe3cf6083d25d5b568d0 (diff)
parenta1170100ee8679d4b3113204df511db8896abd97 (diff)
downloadotp-06a6e87aa4c8613bf352d0f83b3de3a352f9510d.tar.gz
otp-06a6e87aa4c8613bf352d0f83b3de3a352f9510d.tar.bz2
otp-06a6e87aa4c8613bf352d0f83b3de3a352f9510d.zip
Merge branch 'vd/otpmbox_hash' into dev
* vd/otpmbox_hash: add OtpMbox.hash() method OTP-8854
-rw-r--r--lib/jinterface/java_src/com/ericsson/otp/erlang/OtpMbox.java5
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.
*