RFR(XS): 8166604: nio: remove unneeded locals variables and correct NPE
christoph.langer at sap.com
Fri Sep 23 07:18:47 UTC 2016
please review a small cleanup in nio socket and datagram channel that I have spotted.
I would even suggest to completely remove the null check throwing NPE in DatagramChannelImpl.receive(ByteBuffer dst) as an NPE would implicitly be thrown when dst is null and dst.isReadOnly() is called. The current behavior would not change then.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the nio-dev