From 067a2af700b1cfa476a4bcf1f55071ccb178e25e Mon Sep 17 00:00:00 2001 From: Norman Maurer Date: Mon, 8 Apr 2013 21:23:53 +0200 Subject: [PATCH] Fix a few typos --- .../src/main/java/io/netty/channel/ChannelInitializer.java | 2 +- .../src/main/java/io/netty/channel/nio/AbstractNioChannel.java | 2 +- transport/src/main/java/io/netty/channel/nio/NioEventLoop.java | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/transport/src/main/java/io/netty/channel/ChannelInitializer.java b/transport/src/main/java/io/netty/channel/ChannelInitializer.java index c7c72f4326..a183b01cc0 100644 --- a/transport/src/main/java/io/netty/channel/ChannelInitializer.java +++ b/transport/src/main/java/io/netty/channel/ChannelInitializer.java @@ -56,7 +56,7 @@ public abstract class ChannelInitializer extends ChannelState * will be removed from the {@link ChannelPipeline} of the {@link Channel}. * * @param ch the {@link Channel} which was registered. - * @throws Exception is thrown if an error accours. In that case the {@link Channel} will be closed. + * @throws Exception is thrown if an error occours. In that case the {@link Channel} will be closed. */ protected abstract void initChannel(C ch) throws Exception; diff --git a/transport/src/main/java/io/netty/channel/nio/AbstractNioChannel.java b/transport/src/main/java/io/netty/channel/nio/AbstractNioChannel.java index 5ea9a29360..6fc875acd8 100755 --- a/transport/src/main/java/io/netty/channel/nio/AbstractNioChannel.java +++ b/transport/src/main/java/io/netty/channel/nio/AbstractNioChannel.java @@ -296,7 +296,7 @@ public abstract class AbstractNioChannel extends AbstractChannel { } /** - * Conect to the remote peer + * Connect to the remote peer */ protected abstract boolean doConnect(SocketAddress remoteAddress, SocketAddress localAddress) throws Exception; diff --git a/transport/src/main/java/io/netty/channel/nio/NioEventLoop.java b/transport/src/main/java/io/netty/channel/nio/NioEventLoop.java index 3442dec0de..edbe583f37 100644 --- a/transport/src/main/java/io/netty/channel/nio/NioEventLoop.java +++ b/transport/src/main/java/io/netty/channel/nio/NioEventLoop.java @@ -98,7 +98,7 @@ public final class NioEventLoop extends SingleThreadEventLoop { /** * Boolean that controls determines if a blocked Selector.select should - * break out of its selection process. In our case we use a timeone for + * break out of its selection process. In our case we use a timeout for * the select method and the select method will block for that time unless * waken up. */