# HG changeset patch # User bpb # Date 1549572419 28800 # Node ID d67b05ca1be40ad1bc32ecbc8db6a120570c7db9 # Parent c502c299d41e578b97141bb9dd26d6391351efe0 rsocket-branch: correct some typos RdmaSockets diff -r c502c299d41e -r d67b05ca1be4 src/jdk.net/share/classes/jdk/net/RdmaSockets.java --- a/src/jdk.net/share/classes/jdk/net/RdmaSockets.java Thu Feb 07 11:09:09 2019 -0800 +++ b/src/jdk.net/share/classes/jdk/net/RdmaSockets.java Thu Feb 07 12:46:59 2019 -0800 @@ -49,13 +49,13 @@ *

The {@linkplain #openSocketChannel(ProtocolFamily) openSocketChannel} and * {@linkplain #openServerSocketChannel(ProtocolFamily) openServerSocketChannel} * methods open {@link java.nio.channels.SelectableChannel selectable channels} - * to RDMA sockets. The {@linkplain #openSelector() openSelector} opens a + * to RDMA sockets. The {@linkplain #openSelector() openSelector} method opens a * {@linkplain Selector} for multiplexing selectable channels to RDMA sockets. - * Selectable channels to RDMA sockets can not be multiplexed with selectable + * Selectable channels to RDMA sockets cannot be multiplexed with selectable * channels opened by the default system-wide {@link SelectorProvider selector * provider}. Furthermore, the RDMA selector provider does not support datagram * channels or pipes; its {@linkplain SelectorProvider#openDatagramChannel - * openDatagramChannel} and {@linkplain SelectorProvider#openPipe openPipen} + * openDatagramChannel} and {@linkplain SelectorProvider#openPipe openPipe} * methods throw {@code UnsupportedOperationException}. * *

Unless otherwise noted, passing a {@code null} argument will cause a @@ -64,9 +64,9 @@ * @implNote The RDMA selector provider supports channels to both IPv4 and * IPv6 RDMA sockets. If the no-arg {@linkplain SelectorProvider#openSocketChannel() * openSocketChannel} or {@linkplain SelectorProvider#openServerSocketChannel() - * openServerSocketChannel} methods are used to open channels then those channels - * will be to IPv6 sockets if IPv6 is enabled on the platform (or IPv4 sockets - * if IPv6 is not enabled). + * openServerSocketChannel} methods are used to open channels, then those + * channels will be to IPv6 sockets if IPv6 is enabled on the platform (or + * IPv4 sockets if IPv6 is not enabled). * * @since 13 */