From d7c53437e90f27639fe2e69838d8c45964e04c80 Mon Sep 17 00:00:00 2001 From: Trustin Lee Date: Mon, 29 Sep 2008 06:51:41 +0000 Subject: [PATCH] Fixed errors in JavaDoc about OIO-based transport shutdown --- .../channel/socket/oio/OioClientSocketChannelFactory.java | 4 ++-- .../channel/socket/oio/OioServerSocketChannelFactory.java | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/main/java/org/jboss/netty/channel/socket/oio/OioClientSocketChannelFactory.java b/src/main/java/org/jboss/netty/channel/socket/oio/OioClientSocketChannelFactory.java index 675a551aa2..5623eda6ec 100644 --- a/src/main/java/org/jboss/netty/channel/socket/oio/OioClientSocketChannelFactory.java +++ b/src/main/java/org/jboss/netty/channel/socket/oio/OioClientSocketChannelFactory.java @@ -62,8 +62,8 @@ import org.jboss.netty.channel.socket.SocketChannel; * *
    *
  1. close all channels created by the factory,
  2. - *
  3. call {@link ExecutorService#shutdownNow()} or {@link ExecutorService#shutdown()} - * for the {@code workerExecutor} which was specified to create the factory, and
  4. + *
  5. call {@link ExecutorService#shutdownNow()} for the executor which was + * specified to create the factory, and
  6. *
  7. call {@link ExecutorService#awaitTermination(long, TimeUnit)} * until it returns {@code true}.
  8. *
diff --git a/src/main/java/org/jboss/netty/channel/socket/oio/OioServerSocketChannelFactory.java b/src/main/java/org/jboss/netty/channel/socket/oio/OioServerSocketChannelFactory.java index 2e87aae1f0..e4440e6d42 100644 --- a/src/main/java/org/jboss/netty/channel/socket/oio/OioServerSocketChannelFactory.java +++ b/src/main/java/org/jboss/netty/channel/socket/oio/OioServerSocketChannelFactory.java @@ -74,8 +74,8 @@ import org.jboss.netty.channel.socket.ServerSocketChannelFactory; *
    *
  1. unbind all channels created by the factory, *
  2. close all child channels accepted by the unbound channels,
  3. - *
  4. call {@link ExecutorService#shutdownNow()} or {@link ExecutorService#shutdown()} - * for all executors which were specified to create the factory, and
  5. + *
  6. call {@link ExecutorService#shutdownNow()} for all executors which were + * specified to create the factory, and
  7. *
  8. call {@link ExecutorService#awaitTermination(long, TimeUnit)} * until it returns {@code true}.
  9. *