Hello,
We got NPEs due to IOSession.getRemoteAddress() returning null.
Would it be possible to modify its javadoc to mention that null is a
possible return value?
For completeness, the following methods can also potentially return null:
- IOSession.getHandler()
- IOSession.poll()
- It's more obvious for this one, but it is still worth highlighting
- IOSession.getRemoteAddress()
- IOSession.getLocalAddress()
Do you prefer to handle this within your team, or should I submit a PR on
github?
Thank you!
--
_CONFIDENTIALITY NOTICE: This email may contain confidential and privileged
material for the sole use of the intended recipient(s). Any review, use,
distribution or disclosure by others is strictly prohibited. If you have
received this communication in error, please notify the sender immediately
by e-mail and delete the message and any file attachments from your
computer. Thank you._