diff options
author | Marcus Arendt <[email protected]> | 2014-10-01 09:58:13 +0200 |
---|---|---|
committer | Marcus Arendt <[email protected]> | 2014-10-01 09:58:13 +0200 |
commit | 40bfc04288f623d7dbabc90f0c93c6baef997ba7 (patch) | |
tree | a2c2cdd9cd744b72679d23fb7a1cb380c29ee920 /lib/jinterface/java_src/com/ericsson/otp/erlang/OtpErlangBinary.java | |
parent | 0e1adc9d399f5854d5b789e5d6a32a92a6ea0d74 (diff) | |
parent | fd0b19efafcd146f96aa98fbb2c996b6e2ca9e98 (diff) | |
download | otp-40bfc04288f623d7dbabc90f0c93c6baef997ba7.tar.gz otp-40bfc04288f623d7dbabc90f0c93c6baef997ba7.tar.bz2 otp-40bfc04288f623d7dbabc90f0c93c6baef997ba7.zip |
Merge branch 'vladdu/jinterface_code_cleanup/OTP-12211' into maint
* vladdu/jinterface_code_cleanup/OTP-12211:
fix warning: Socket's InputStream not closed
silence 'potential resource leak' warnings
don't warn about some unused fields/variables
handle warnings about potential null pointers
keep all method parameters final
renamed method parameters hiding fields
add 'break' statements to make compiler happy
remove warnings from OtpMD5
rename OtpNode.flags to connFlags
rename OtpNode.Acceptor.port to acceptorPort
rename field 'self' to 'localNode'
mark deprecated unused private constructor
simplify 'if' statements
remove warnings: @Override, switch fall-through
make serialVersionUID fields private
remove unnecessary syntax (casts)
remove unused variables
removed unnecessary semicolons, imports, labels
remove unnecessary null pointer checks
remove unnecessary Cloneable and Serializable
Diffstat (limited to 'lib/jinterface/java_src/com/ericsson/otp/erlang/OtpErlangBinary.java')
-rw-r--r-- | lib/jinterface/java_src/com/ericsson/otp/erlang/OtpErlangBinary.java | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/lib/jinterface/java_src/com/ericsson/otp/erlang/OtpErlangBinary.java b/lib/jinterface/java_src/com/ericsson/otp/erlang/OtpErlangBinary.java index a9eaad540e..0891781f8d 100644 --- a/lib/jinterface/java_src/com/ericsson/otp/erlang/OtpErlangBinary.java +++ b/lib/jinterface/java_src/com/ericsson/otp/erlang/OtpErlangBinary.java @@ -18,16 +18,14 @@ */ package com.ericsson.otp.erlang; -import java.io.Serializable; /** * Provides a Java representation of Erlang binaries. Anything that can be * represented as a sequence of bytes can be made into an Erlang binary. */ -public class OtpErlangBinary extends OtpErlangBitstr implements Serializable, - Cloneable { +public class OtpErlangBinary extends OtpErlangBitstr { // don't change this! - static final long serialVersionUID = -3781009633593609217L; + private static final long serialVersionUID = -3781009633593609217L; /** * Create a binary from a byte array |