diff --git a/lib/jinterface/doc/guides/jinterface_users_guide.md b/lib/jinterface/doc/guides/jinterface_users_guide.md index df6531262f76..3f6af16b8da0 100644 --- a/lib/jinterface/doc/guides/jinterface_users_guide.md +++ b/lib/jinterface/doc/guides/jinterface_users_guide.md @@ -256,12 +256,12 @@ while (true) { try { o = mbox.receive(); if (o instanceof OtpErlangTuple) { - msg = (OtpErlangTuple)o; - from = (OtpErlangPid)(msg.elementAt(0)); - mbox.send(from,msg.elementAt(1)); - } - catch (Exception e) { - System.out.println("" + e); + msg = (OtpErlangTuple) o; + from = (OtpErlangPid) (msg.elementAt(0)); + mbox.send(from, msg.elementAt(1)); + } + } catch (Exception e) { + System.out.println("" + e); } } ```