6868 * and in particular for OSGi applications, it is likely that such a configuration would lead to
6969 * compile and/or runtime errors.</strong>
7070 *
71- * @jira_ticket JAVA-640
7271 * @since 2.0.10
7372 */
7473public class NettyOptions {
@@ -79,7 +78,7 @@ public class NettyOptions {
7978 public static final NettyOptions DEFAULT_INSTANCE = new NettyOptions ();
8079
8180 /**
82- * Return the {@link EventLoopGroup} instance to use.
81+ * Return the {@code EventLoopGroup} instance to use.
8382 * <p>
8483 * This hook is invoked only once at {@link Cluster} initialization;
8584 * the returned instance will be kept in use throughout the cluster lifecycle.
@@ -89,30 +88,30 @@ public class NettyOptions {
8988 * case implementors should also override {@link #onClusterClose(EventLoopGroup)}
9089 * to prevent the shared instance to be closed when the cluster is closed.
9190 * <p>
92- * The default implementation returns a new instance of {@link io.netty.channel.epoll.EpollEventLoopGroup}
91+ * The default implementation returns a new instance of {@code io.netty.channel.epoll.EpollEventLoopGroup}
9392 * if {@link NettyUtil#isEpollAvailable() epoll is available},
94- * or {@link NioEventLoopGroup} otherwise.
93+ * or {@code io.netty.channel.nio. NioEventLoopGroup} otherwise.
9594 *
96- * @param threadFactory The {@link ThreadFactory} to use when creating a new {@link EventLoopGroup} instance;
95+ * @param threadFactory The {@link ThreadFactory} to use when creating a new {@code EventLoopGroup} instance;
9796 * The driver will provide its own internal thread factory here.
9897 * It is safe to ignore it and use another thread factory.
99- * @return the {@link EventLoopGroup} instance to use.
98+ * @return the {@code EventLoopGroup} instance to use.
10099 */
101100 public EventLoopGroup eventLoopGroup (ThreadFactory threadFactory ) {
102101 return NettyUtil .newEventLoopGroupInstance (threadFactory );
103102 }
104103
105104 /**
106- * Return the specific {@link SocketChannel} subclass to use.
105+ * Return the specific {@code SocketChannel} subclass to use.
107106 * <p>
108107 * This hook is invoked only once at {@link Cluster} initialization;
109108 * the returned instance will then be used each time the driver creates a new {@link Connection}
110109 * and configures a new instance of {@link Bootstrap} for it.
111110 * <p>
112- * The default implementation returns {@link io.netty.channel.epoll.EpollSocketChannel} if {@link NettyUtil#isEpollAvailable() epoll is available},
113- * or {@link NioSocketChannel} otherwise.
111+ * The default implementation returns {@code io.netty.channel.epoll.EpollSocketChannel} if {@link NettyUtil#isEpollAvailable() epoll is available},
112+ * or {@code io.netty.channel.socket.nio. NioSocketChannel} otherwise.
114113 *
115- * @return The {@link SocketChannel} subclass to use.
114+ * @return The {@code SocketChannel} subclass to use.
116115 */
117116 public Class <? extends SocketChannel > channelClass () {
118117 return NettyUtil .channelClass ();
0 commit comments