Repository: mina
Updated Branches:
  refs/heads/2.0 9b7f30c98 -> c2582ddd0


Fixed some bad references in Javadoc

Project: http://git-wip-us.apache.org/repos/asf/mina/repo
Commit: http://git-wip-us.apache.org/repos/asf/mina/commit/c2582ddd
Tree: http://git-wip-us.apache.org/repos/asf/mina/tree/c2582ddd
Diff: http://git-wip-us.apache.org/repos/asf/mina/diff/c2582ddd

Branch: refs/heads/2.0
Commit: c2582ddd036774507cfb04a8423f9340a8881082
Parents: 9b7f30c
Author: Emmanuel Lécharny <elecha...@symas.com>
Authored: Thu Oct 26 22:26:04 2017 +0200
Committer: Emmanuel Lécharny <elecha...@symas.com>
Committed: Thu Oct 26 22:26:04 2017 +0200

----------------------------------------------------------------------
 .../src/main/java/org/apache/mina/core/buffer/IoBuffer.java | 9 ++++-----
 1 file changed, 4 insertions(+), 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/mina/blob/c2582ddd/mina-core/src/main/java/org/apache/mina/core/buffer/IoBuffer.java
----------------------------------------------------------------------
diff --git a/mina-core/src/main/java/org/apache/mina/core/buffer/IoBuffer.java 
b/mina-core/src/main/java/org/apache/mina/core/buffer/IoBuffer.java
index 6e67f49..913102f 100644
--- a/mina-core/src/main/java/org/apache/mina/core/buffer/IoBuffer.java
+++ b/mina-core/src/main/java/org/apache/mina/core/buffer/IoBuffer.java
@@ -19,8 +19,10 @@
  */
 package org.apache.mina.core.buffer;
 
+import java.io.IOException;
 import java.io.InputStream;
 import java.io.OutputStream;
+import java.nio.BufferOverflowException;
 import java.nio.ByteBuffer;
 import java.nio.ByteOrder;
 import java.nio.CharBuffer;
@@ -35,6 +37,8 @@ import java.nio.charset.CharsetEncoder;
 import java.util.EnumSet;
 import java.util.Set;
 
+import org.apache.mina.core.session.IoSession;
+
 /**
  * A byte buffer used by MINA applications.
  * <p>
@@ -1083,9 +1087,6 @@ public abstract class IoBuffer implements 
Comparable<IoBuffer> {
      * @param value The medium int value to be written
      * 
      * @return the modified IoBuffer
-     * 
-     * @throws BufferOverflowException If there are fewer than three bytes 
remaining in this buffer
-     * @throws ReadOnlyBufferException If this buffer is read-only
      */
     public abstract IoBuffer putMediumInt(int value);
 
@@ -1105,8 +1106,6 @@ public abstract class IoBuffer implements 
Comparable<IoBuffer> {
      * @throws IndexOutOfBoundsException
      *             If <tt>index</tt> is negative or not smaller than the
      *             buffer's limit, minus three
-     * 
-     * @throws ReadOnlyBufferException If this buffer is read-only
      */
     public abstract IoBuffer putMediumInt(int index, int value);
 

Reply via email to