diff options
author | Vlad Dumitrescu <[email protected]> | 2014-09-10 11:32:50 +0200 |
---|---|---|
committer | Vlad Dumitrescu <[email protected]> | 2014-09-11 21:24:25 +0200 |
commit | d0a1059d551c86d41ecbb36a1f23516eb71679c6 (patch) | |
tree | 0d09037d9e05c697a368e89a08e95166a30ec008 /lib/jinterface/java_src/com/ericsson/otp/erlang/OtpMsg.java | |
parent | 4725d4cc06ded1c9ee2712330e233aa865df3ebd (diff) | |
download | otp-d0a1059d551c86d41ecbb36a1f23516eb71679c6.tar.gz otp-d0a1059d551c86d41ecbb36a1f23516eb71679c6.tar.bz2 otp-d0a1059d551c86d41ecbb36a1f23516eb71679c6.zip |
keep all method parameters final
Diffstat (limited to 'lib/jinterface/java_src/com/ericsson/otp/erlang/OtpMsg.java')
-rw-r--r-- | lib/jinterface/java_src/com/ericsson/otp/erlang/OtpMsg.java | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/lib/jinterface/java_src/com/ericsson/otp/erlang/OtpMsg.java b/lib/jinterface/java_src/com/ericsson/otp/erlang/OtpMsg.java index 31a5d0fb8f..7c5bc69361 100644 --- a/lib/jinterface/java_src/com/ericsson/otp/erlang/OtpMsg.java +++ b/lib/jinterface/java_src/com/ericsson/otp/erlang/OtpMsg.java @@ -129,13 +129,14 @@ public class OtpMsg { } // other message types (link, unlink) - OtpMsg(int tag, final OtpErlangPid from, final OtpErlangPid to) { + OtpMsg(final int tag, final OtpErlangPid from, final OtpErlangPid to) { // convert TT-tags to equiv non-TT versions + int atag = tag; if (tag > 10) { - tag -= 10; + atag -= 10; } - this.tag = tag; + this.tag = atag; this.from = from; this.to = to; } |