From ad805a1f703eeaa64f7af2a9be1c4994f657950a Mon Sep 17 00:00:00 2001 From: Trustin Lee Date: Mon, 11 Aug 2008 04:10:20 +0000 Subject: [PATCH] Fixed a JavaDoc error in ChannelBuffer --- src/main/java/org/jboss/netty/buffer/ChannelBuffer.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/org/jboss/netty/buffer/ChannelBuffer.java b/src/main/java/org/jboss/netty/buffer/ChannelBuffer.java index 40d6843e89..daf9f5447e 100644 --- a/src/main/java/org/jboss/netty/buffer/ChannelBuffer.java +++ b/src/main/java/org/jboss/netty/buffer/ChannelBuffer.java @@ -910,7 +910,7 @@ public interface ChannelBuffer extends Comparable { * {@code readerIndex} and {@code writerIndex} are {@code 0} and * the number of the transferred bytes respectively. * - * @param length the number of bytes to transfer + * @param indexFinder finds the end index of the sub-region * * @return the newly created buffer which contains the transferred bytes * @@ -938,7 +938,7 @@ public interface ChannelBuffer extends Comparable { * {@code readerIndex} and increases the {@code readerIndex} by the size * of the new slice (determined by {@code indexFinder}). * - * @param indexFinder finds the end index of the sub-region to be sliced + * @param indexFinder finds the end index of the sub-region * * @return the newly created slice *