From 4324c618833138c3a673c6366e62e0c36b4ad78f Mon Sep 17 00:00:00 2001 From: Cruz Julian Bishop Date: Sat, 30 Jun 2012 20:30:56 +1000 Subject: [PATCH] Fixes javadoc from #414 / #415 (@trustin) --- buffer/src/main/java/io/netty/buffer/CompositeByteBuf.java | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/buffer/src/main/java/io/netty/buffer/CompositeByteBuf.java b/buffer/src/main/java/io/netty/buffer/CompositeByteBuf.java index 19e8fc4912..9d1e86109a 100644 --- a/buffer/src/main/java/io/netty/buffer/CompositeByteBuf.java +++ b/buffer/src/main/java/io/netty/buffer/CompositeByteBuf.java @@ -587,10 +587,10 @@ public class CompositeByteBuf extends AbstractByteBuf { *

* * - * @param index The {@code index} to search for and include in the returned {@link ByteBuf} - * @return The {@link ByteBuf} that contains the specified {@code index} + * @param index the {@code index} to search for and include in the returned {@link ByteBuf} + * @return the {@link ByteBuf} that contains the specified {@code index} * @throws IndexOutOfBoundsException when the specified {@code index} is - * less than zero, or larger than {@code capacity()} + * less than zero, or greater than {@code capacity()} */ public ByteBuf getBuffer(int index) throws IndexOutOfBoundsException { if (index < 0 || index >= capacity()) { @@ -601,7 +601,6 @@ public class CompositeByteBuf extends AbstractByteBuf { //Return the component byte buffer return components[componentId(index)]; - } @Override