You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by ma...@apache.org on 2014/03/10 16:00:15 UTC

svn commit: r1575960 - /tomcat/trunk/java/org/apache/tomcat/util/net/SecureNio2Channel.java

Author: markt
Date: Mon Mar 10 15:00:14 2014
New Revision: 1575960

URL: http://svn.apache.org/r1575960
Log:
Fix a couple of Javadoc nags

Modified:
    tomcat/trunk/java/org/apache/tomcat/util/net/SecureNio2Channel.java

Modified: tomcat/trunk/java/org/apache/tomcat/util/net/SecureNio2Channel.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/tomcat/util/net/SecureNio2Channel.java?rev=1575960&r1=1575959&r2=1575960&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/tomcat/util/net/SecureNio2Channel.java (original)
+++ tomcat/trunk/java/org/apache/tomcat/util/net/SecureNio2Channel.java Mon Mar 10 15:00:14 2014
@@ -553,8 +553,7 @@ public class SecureNio2Channel extends N
      *
      * @param dst The buffer into which bytes are to be transferred
      * @return The number of bytes read, possibly zero, or <tt>-1</tt> if the channel has reached end-of-stream
-     * @throws IOException If some other I/O error occurs
-     * @throws IllegalArgumentException if the destination buffer is different than bufHandler.getReadBuffer()
+     * @throws IllegalStateException if the handshake was not completed
      */
     @Override
     public Future<Integer> read(ByteBuffer dst) {
@@ -632,7 +631,6 @@ public class SecureNio2Channel extends N
      *
      * @param src The buffer from which bytes are to be retrieved
      * @return The number of bytes written, possibly zero
-     * @throws IOException If some other I/O error occurs
      */
     @Override
     public Future<Integer> write(ByteBuffer src) {



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