diff options
author | Vlad Dumitrescu <[email protected]> | 2014-09-12 12:23:00 +0200 |
---|---|---|
committer | Vlad Dumitrescu <[email protected]> | 2014-09-12 12:23:22 +0200 |
commit | b64eb80453cdaac936eba1e46f814f4e8b92f65b (patch) | |
tree | e3434710aaf1955d72bf5f855279be251bc70097 | |
parent | 457019ac679bb555239c4749da197205857d9f9f (diff) | |
download | otp-b64eb80453cdaac936eba1e46f814f4e8b92f65b.tar.gz otp-b64eb80453cdaac936eba1e46f814f4e8b92f65b.tar.bz2 otp-b64eb80453cdaac936eba1e46f814f4e8b92f65b.zip |
OtpErlangList.clone must not return null
-rw-r--r-- | lib/jinterface/java_src/com/ericsson/otp/erlang/OtpErlangList.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/jinterface/java_src/com/ericsson/otp/erlang/OtpErlangList.java b/lib/jinterface/java_src/com/ericsson/otp/erlang/OtpErlangList.java index 3456fd7412..e363fdb457 100644 --- a/lib/jinterface/java_src/com/ericsson/otp/erlang/OtpErlangList.java +++ b/lib/jinterface/java_src/com/ericsson/otp/erlang/OtpErlangList.java @@ -326,7 +326,7 @@ public class OtpErlangList extends OtpErlangObject implements try { return new OtpErlangList(elements(), getLastTail()); } catch (final OtpErlangException e) { - return null; + throw new AssertionError(this); } } |