Updates the javadoc of Unpooled to remove mention to methods it does not provide

Motivation:

`Unpooled` javadoc's mentioned the generation of hex dump and swapping an integer's byte order,
which are actually provided by `ByteBufUtil`.

Modifications:

 Sentence moved to `ByteBufUtil` javadoc.

Result:

`Unpooled` javadoc is correct.
This commit is contained in:
Leo Gomes 2015-03-04 00:01:19 +01:00 committed by Trustin Lee
parent 37264bb72b
commit 2cc7466266
2 changed files with 2 additions and 7 deletions

View File

@ -34,7 +34,8 @@ import java.nio.charset.CoderResult;
import java.util.Locale;
/**
* A collection of utility methods that is related with handling {@link ByteBuf}.
* A collection of utility methods that is related with handling {@link ByteBuf},
* such as the generation of hex dump and swapping an integer's byte order.
*/
public final class ByteBufUtil {

View File

@ -67,12 +67,6 @@ import java.util.List;
* between the original data and the copied buffer. Various copy methods are
* provided and their name is all {@code copiedBuffer()}. It is also convenient
* to use this operation to merge multiple buffers into one buffer.
*
* <h3>Miscellaneous utility methods</h3>
*
* This class also provides various utility methods to help implementation
* of a new buffer type, generation of hex dump and swapping an integer's
* byte order.
*/
public final class Unpooled {