You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by re...@apache.org on 2019/04/19 17:05:00 UTC

[tomcat] branch master updated: Javadoc fix

This is an automated email from the ASF dual-hosted git repository.

remm pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/tomcat.git


The following commit(s) were added to refs/heads/master by this push:
     new 2ac1717  Javadoc fix
2ac1717 is described below

commit 2ac1717d0cfd39449c22cd2155be66f432cb7caa
Author: remm <re...@apache.org>
AuthorDate: Fri Apr 19 19:04:49 2019 +0200

    Javadoc fix
---
 java/org/apache/tomcat/util/net/NioSelectorPool.java | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/java/org/apache/tomcat/util/net/NioSelectorPool.java b/java/org/apache/tomcat/util/net/NioSelectorPool.java
index e6b3a17..ea365d9 100644
--- a/java/org/apache/tomcat/util/net/NioSelectorPool.java
+++ b/java/org/apache/tomcat/util/net/NioSelectorPool.java
@@ -141,9 +141,7 @@ public class NioSelectorPool {
      * @param socket        The socket to write data to
      * @param selector      The selector to use for blocking, if null then a busy write will be initiated
      * @param writeTimeout  The timeout for this write operation in milliseconds, -1 means no timeout
-     * @param block         <code>true</code> to perform a blocking write
-     *                      otherwise a non-blocking write will be performed
-     * @return int - returns the number of bytes written
+     * @return the number of bytes written
      * @throws EOFException if write returns -1
      * @throws SocketTimeoutException if the write times out
      * @throws IOException if an IO Exception occurs in the underlying socket logic
@@ -212,7 +210,7 @@ public class NioSelectorPool {
      * @param socket SocketChannel - the socket to write data to
      * @param selector Selector - the selector to use for blocking, if null then a busy read will be initiated
      * @param readTimeout long - the timeout for this read operation in milliseconds, -1 means no timeout
-     * @return int - returns the number of bytes read
+     * @return the number of bytes read
      * @throws EOFException if read returns -1
      * @throws SocketTimeoutException if the read times out
      * @throws IOException if an IO Exception occurs in the underlying socket logic


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org