aboutsummaryrefslogtreecommitdiffstats
path: root/lib/jinterface/test/jinterface_SUITE_data/MboxSendReceive.java
diff options
context:
space:
mode:
authorVlad Dumitrescu <[email protected]>2014-09-10 11:35:50 +0200
committerVlad Dumitrescu <[email protected]>2014-09-11 21:24:26 +0200
commitea9ecb6c1cc2781c8ad9bdacaacc2245987df908 (patch)
treed057c17dafd5c15757d3a684b73133eb7dc74ff9 /lib/jinterface/test/jinterface_SUITE_data/MboxSendReceive.java
parentd0a1059d551c86d41ecbb36a1f23516eb71679c6 (diff)
downloadotp-ea9ecb6c1cc2781c8ad9bdacaacc2245987df908.tar.gz
otp-ea9ecb6c1cc2781c8ad9bdacaacc2245987df908.tar.bz2
otp-ea9ecb6c1cc2781c8ad9bdacaacc2245987df908.zip
handle warnings about potential null pointers
Diffstat (limited to 'lib/jinterface/test/jinterface_SUITE_data/MboxSendReceive.java')
-rw-r--r--lib/jinterface/test/jinterface_SUITE_data/MboxSendReceive.java9
1 files changed, 8 insertions, 1 deletions
diff --git a/lib/jinterface/test/jinterface_SUITE_data/MboxSendReceive.java b/lib/jinterface/test/jinterface_SUITE_data/MboxSendReceive.java
index 2db71bb5cd..44433aa619 100644
--- a/lib/jinterface/test/jinterface_SUITE_data/MboxSendReceive.java
+++ b/lib/jinterface/test/jinterface_SUITE_data/MboxSendReceive.java
@@ -17,7 +17,13 @@
* %CopyrightEnd%
*/
-import com.ericsson.otp.erlang.*;
+import com.ericsson.otp.erlang.OtpErlangAtom;
+import com.ericsson.otp.erlang.OtpErlangLong;
+import com.ericsson.otp.erlang.OtpErlangObject;
+import com.ericsson.otp.erlang.OtpErlangPid;
+import com.ericsson.otp.erlang.OtpErlangTuple;
+import com.ericsson.otp.erlang.OtpMbox;
+import com.ericsson.otp.erlang.OtpNode;
class MboxSendReceive {
@@ -35,6 +41,7 @@ class MboxSendReceive {
private static final int java_internal_send_receive_different_nodes = 3;
private static final int java_internal_send_receive_self = 4;
+ @SuppressWarnings("null")
public static void main(String argv[]) {
String cookie = argv[0];